diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-10-27 16:11:21 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-10-27 16:11:21 +0000 |
| commit | 2761348f78d606c4d5eeda94869de6c9c1973fa6 (patch) | |
| tree | eec6756c8581909e18114c1772d9c8ca0d67bbe0 /lib/libfetch/common.h | |
| parent | 9e913ebd0abc005625b4f8aa332fc7125f48ffe7 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/common.h')
| -rw-r--r-- | lib/libfetch/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index 42f68a8de6b1..4b42bf2324f8 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -68,6 +68,9 @@ struct fetcherr { const char *string; }; +/* for _fetch_writev */ +struct iovec; + void _fetch_seterr(struct fetcherr *, int); void _fetch_syserr(void); void _fetch_info(const char *, ...); @@ -80,6 +83,7 @@ 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); +ssize_t _fetch_writev(conn_t *, struct iovec *, int); int _fetch_putln(conn_t *, const char *, size_t); int _fetch_close(conn_t *); int _fetch_add_entry(struct url_ent **, int *, int *, |
