Add prototype for _ftp_request().
This commit is contained in:
parent
102a87c1e1
commit
89db7b8c6d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user