diff options
author | Yang Tse <yangsita@gmail.com> | 2008-11-06 17:19:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-11-06 17:19:56 +0000 |
commit | a0ef686c542bee30be0b20cd4d3243bec6b4f059 (patch) | |
tree | f2eeaa5b9920664defdd021eea0b98e9d6119f41 /lib/hostip.h | |
parent | 2903a5c0500210f0a3934352fe29217b2b8e1dbf (diff) | |
download | curl-a0ef686c542bee30be0b20cd4d3243bec6b4f059.tar.gz |
Merged existing IPv4 and IPv6 Curl_ip2addr functions into a single one
which now also takes a protocol address family argument.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index 2d892b85a..8b6bb76fb 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -104,11 +104,6 @@ #define ares_destroy(x) do {} while(0) #endif -#if defined(CURLRES_IPV6) && defined(CURLRES_ARES) -Curl_addrinfo *Curl_ip2addr6(struct in6_addr *in, - const char *hostname, int port); -#endif - struct addrinfo; struct hostent; struct SessionHandle; @@ -224,10 +219,6 @@ CURLcode Curl_addrinfo6_callback(void *arg, Curl_addrinfo *ai); -/* [ipv4/ares only] Creates a Curl_addrinfo struct from a numerical-only IP - address */ -Curl_addrinfo *Curl_ip2addr(in_addr_t num, const char *hostname, int port); - /* Clone a Curl_addrinfo struct, works protocol independently */ Curl_addrinfo *Curl_addrinfo_copy(const void *orig, int port); |