summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/common.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-07-11 23:50:08 +0000
committerdes <des@FreeBSD.org>2000-07-11 23:50:08 +0000
commit848e1688b8b197884a50800324df1f3d1399c2b4 (patch)
treeb3af026834ffe38668a7e4d76045655057e092c7 /lib/libfetch/common.h
parentb7f030c2c0a5af0d5a92f76f2891ad65c40547a0 (diff)
downloadFreeBSD-src-848e1688b8b197884a50800324df1f3d1399c2b4.zip
FreeBSD-src-848e1688b8b197884a50800324df1f3d1399c2b4.tar.gz
Add _fetch_putln()
Diffstat (limited to 'lib/libfetch/common.h')
-rw-r--r--lib/libfetch/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h
index 79bd54d..c39e879 100644
--- a/lib/libfetch/common.h
+++ b/lib/libfetch/common.h
@@ -32,7 +32,6 @@
#define _COMMON_H_INCLUDED
/* Structure used for error message lists */
-#define ERRCAT_
struct fetcherr {
const int num, cat;
const char *string;
@@ -43,6 +42,7 @@ void _fetch_syserr(void);
void _fetch_info(char *fmt, ...);
int _fetch_connect(char *host, int port, int af, int verbose);
int _fetch_getln(int fd, char **buf, size_t *size, size_t *len);
+int _fetch_putln(int fd, char *str, size_t len);
int _fetch_add_entry(struct url_ent **p, int *size, int *len,
char *name, struct url_stat *stat);
OpenPOWER on IntegriCloud