diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-10-18 08:29:26 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2001-10-18 08:29:26 +0000 |
| commit | f573a5fc941bcf242b9f84a92bd9a0d86644c036 (patch) | |
| tree | 07a6243a30bdd0d2c07193fa434fe66f955c7b45 /lib/libfetch/common.h | |
| parent | bd294626166d5af9233983825cd5328546927c07 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/common.h')
| -rw-r--r-- | lib/libfetch/common.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index 0c67b28e8cec..f869eb8d6489 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -42,16 +42,16 @@ struct fetcherr { const char *string; }; -void _fetch_seterr(struct fetcherr *p, int e); +void _fetch_seterr(struct fetcherr *, int); void _fetch_syserr(void); -void _fetch_info(const char *fmt, ...); +void _fetch_info(const char *, ...); int _fetch_default_port(const char *); int _fetch_default_proxy_port(const char *); -int _fetch_connect(const 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, const char *str, size_t len); -int _fetch_add_entry(struct url_ent **p, int *size, int *len, - const char *name, struct url_stat *stat); +int _fetch_connect(const char *, int, int, int); +int _fetch_getln(int, char **, size_t *, size_t *); +int _fetch_putln(int, const char *, size_t); +int _fetch_add_entry(struct url_ent **, int *, int *, + const char *, struct url_stat *); #define _ftp_seterr(n) _fetch_seterr(_ftp_errlist, n) #define _http_seterr(n) _fetch_seterr(_http_errlist, n) @@ -72,9 +72,9 @@ int _fetch_add_entry(struct url_ent **p, int *size, int *len, * Note that _http_request() frees purl, which is way ugly but saves us a * whole lot of trouble. */ -FILE *_http_request(struct url *URL, const char *op, - struct url_stat *us, struct url *purl, - const char *flags); +FILE *_http_request(struct url *, const char *, + struct url_stat *, struct url *, + const char *); /* * Check whether a particular flag is set |
