summaryrefslogtreecommitdiff
path: root/lib/curl_addrinfo.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-11-06 17:19:56 +0000
committerYang Tse <yangsita@gmail.com>2008-11-06 17:19:56 +0000
commita0ef686c542bee30be0b20cd4d3243bec6b4f059 (patch)
treef2eeaa5b9920664defdd021eea0b98e9d6119f41 /lib/curl_addrinfo.h
parent2903a5c0500210f0a3934352fe29217b2b8e1dbf (diff)
downloadcurl-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/curl_addrinfo.h')
-rw-r--r--lib/curl_addrinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/curl_addrinfo.h b/lib/curl_addrinfo.h
index f6456f965..50480fa09 100644
--- a/lib/curl_addrinfo.h
+++ b/lib/curl_addrinfo.h
@@ -78,6 +78,8 @@ Curl_getaddrinfo_ex(const char *nodename,
Curl_addrinfo *
Curl_he2ai(const struct hostent *he, int port);
+Curl_addrinfo *
+Curl_ip2addr(int af, const void *inaddr, const char *hostname, int port);
#if defined(CURLDEBUG) && defined(HAVE_FREEADDRINFO)
void