From a0ef686c542bee30be0b20cd4d3243bec6b4f059 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 6 Nov 2008 17:19:56 +0000 Subject: Merged existing IPv4 and IPv6 Curl_ip2addr functions into a single one which now also takes a protocol address family argument. --- lib/hostip.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/hostip.h') 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); -- cgit v1.2.3