summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/common.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-01-07 12:58:40 +0000
committerdes <des@FreeBSD.org>2000-01-07 12:58:40 +0000
commitc701cfdd7c04109f912bfb68fd7a585ecbd44e1d (patch)
tree818f61f93dc1f5c6c7436a1c8f6e20e3b7c09201 /lib/libfetch/common.h
parent3acbd8ffda546db2a916c987d7912527644c316f (diff)
downloadFreeBSD-src-c701cfdd7c04109f912bfb68fd7a585ecbd44e1d.zip
FreeBSD-src-c701cfdd7c04109f912bfb68fd7a585ecbd44e1d.tar.gz
More old uncommitted patches: implement timeouts at the protocol level.
Currently only supported for ftp connections.
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 aa2059c..1762a00 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);
OpenPOWER on IntegriCloud