diff options
author | des <des@FreeBSD.org> | 2001-12-04 01:10:34 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-12-04 01:10:34 +0000 |
commit | 8cabee0ca4ac41ae057d025599157d29c5a40b05 (patch) | |
tree | d895fd94cdd748608699abfbcdb61d5f11962d75 /lib/libfetch | |
parent | 5d89c5ae6e3756159ce326b909361e584d15738b (diff) | |
download | FreeBSD-src-8cabee0ca4ac41ae057d025599157d29c5a40b05.zip FreeBSD-src-8cabee0ca4ac41ae057d025599157d29c5a40b05.tar.gz |
Add prototype for _ftp_request().
Diffstat (limited to 'lib/libfetch')
-rw-r--r-- | lib/libfetch/common.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index f869eb8..6dad684 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -65,16 +65,20 @@ int _fetch_add_entry(struct url_ent **, int *, int *, #endif /* - * I don't really like exporting _http_request() from http.c, but ftp.c - * occasionally needs to use an HTTP proxy, and this saves me from adding - * a lot of special-case code to http.c to handle those cases. + * I don't really like exporting _http_request() and _ftp_request(), + * but the HTTP and FTP code occasionally needs to cross-call + * eachother, and this saves me from adding a lot of special-case code + * to handle those cases. * - * Note that _http_request() frees purl, which is way ugly but saves us a + * Note that _*_request() free purl, which is way ugly but saves us a * whole lot of trouble. */ FILE *_http_request(struct url *, const char *, struct url_stat *, struct url *, const char *); +FILE *_ftp_request(struct url *, const char *, + struct url_stat *, struct url *, + const char *); /* * Check whether a particular flag is set |