diff options
author | des <des@FreeBSD.org> | 2003-03-03 12:35:03 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-03-03 12:35:03 +0000 |
commit | 66c619c7d8ca78fefc1c7260ba40ae261ae79e8b (patch) | |
tree | 974cb3f0e590239d652417eb76c251441678ad92 /lib/libfetch/common.h | |
parent | 0ae911eb0e57eebb61c50c02ddf69aa67ed19599 (diff) | |
download | FreeBSD-src-66c619c7d8ca78fefc1c7260ba40ae261ae79e8b.zip FreeBSD-src-66c619c7d8ca78fefc1c7260ba40ae261ae79e8b.tar.gz |
Add and document support for a FETCH_BIND_ADDRESS environment variable
specifying a local address to bind sockets to. Caveat: lightly tested.
PR: bin/37572
Diffstat (limited to 'lib/libfetch/common.h')
-rw-r--r-- | lib/libfetch/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/common.h b/lib/libfetch/common.h index adc0f38..6f65259 100644 --- a/lib/libfetch/common.h +++ b/lib/libfetch/common.h @@ -76,6 +76,7 @@ void _fetch_syserr(void); void _fetch_info(const char *, ...); int _fetch_default_port(const char *); int _fetch_default_proxy_port(const char *); +int _fetch_bind(int, int, const char *); conn_t *_fetch_connect(const char *, int, int, int); conn_t *_fetch_reopen(int); conn_t *_fetch_ref(conn_t *); |