diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-06-05 12:46:36 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-06-05 12:46:36 +0000 |
| commit | 111e2510090ae55cd5e9be954c172d8737f45b09 (patch) | |
| tree | 9329a9d7ff9e99806101b26229c66f397ccc0f8c /lib/libfetch/common.h | |
| parent | 080ef30b200db3d8a35d0fb3c38c681f632aa2b9 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/common.h')
| -rw-r--r-- | lib/libfetch/common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index 8b2a02636d72..06a805ff0a24 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -57,7 +57,7 @@ struct fetchconn { }; /* Structure used for error message lists */ -struct fetcherr { +struct fetcherr { const int num; const int cat; const char *string; @@ -69,7 +69,8 @@ void _fetch_info(const char *, ...); int _fetch_default_port(const char *); int _fetch_default_proxy_port(const char *); conn_t *_fetch_connect(const char *, int, int, int); -conn_t *_fetch_reopen(int sd); +conn_t *_fetch_reopen(int); +int _fetch_ssl(conn_t *, int); ssize_t _fetch_read(conn_t *, char *, size_t); int _fetch_getln(conn_t *); ssize_t _fetch_write(conn_t *, const char *, size_t); |
