diff options
author | des <des@FreeBSD.org> | 2016-12-14 14:20:32 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2016-12-14 14:20:32 +0000 |
commit | bae35c080ecad74d003339958db6a0d96b2e64a0 (patch) | |
tree | 2fbf8310b547fc77f49aa717f066604b98d0c2f9 /lib/libfetch/common.h | |
parent | f1a55d2a3f0f502f1b9f16b4d166349ecf79664d (diff) | |
download | FreeBSD-src-bae35c080ecad74d003339958db6a0d96b2e64a0.zip FreeBSD-src-bae35c080ecad74d003339958db6a0d96b2e64a0.tar.gz |
MFH (r308996, r309051, r309738): refactor, avoid repeating DNS requests
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 41c10d2..e881c88 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 *); +struct addrinfo *fetch_resolve(const char *, int, int); int fetch_bind(int, int, const char *); conn_t *fetch_connect(const char *, int, int, int); conn_t *fetch_reopen(int); |