summaryrefslogtreecommitdiff
path: root/lib/libfetch/common.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-01-07 12:58:40 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-01-07 12:58:40 +0000
commitfc6e9e6539cb81b425c8dcd6ac667aaab51cb51c (patch)
tree4d16c586a3d9eabce8a4e383f15930c22d1ca039 /lib/libfetch/common.h
parentbe0d5ff22474975258f9bab626a236df89c086e1 (diff)
Notes
Diffstat (limited to 'lib/libfetch/common.h')
-rw-r--r--lib/libfetch/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h
index aa2059c21d67..1762a00ecf12 100644
--- a/lib/libfetch/common.h
+++ b/lib/libfetch/common.h
@@ -38,10 +38,11 @@ struct fetcherr {
const char *string;
};
-void _fetch_seterr(struct fetcherr *, int);
+void _fetch_seterr(struct fetcherr *p, int e);
void _fetch_syserr(void);
int _fetch_info(char *fmt, ...);
-int _fetch_connect(char *, int, int);
+int _fetch_connect(char *host, int port, int verbose);
+int _fetch_getln(int fd, char **buf, size_t *size, size_t *len);
int _fetch_add_entry(struct url_ent **p, int *size, int *len,
char *name, struct url_stat *stat);