diff options
Diffstat (limited to 'lib/curl_addrinfo.h')
-rw-r--r-- | lib/curl_addrinfo.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/curl_addrinfo.h b/lib/curl_addrinfo.h index 583f3d082..f6456f965 100644 --- a/lib/curl_addrinfo.h +++ b/lib/curl_addrinfo.h @@ -78,4 +78,20 @@ Curl_getaddrinfo_ex(const char *nodename, Curl_addrinfo * Curl_he2ai(const struct hostent *he, int port); + +#if defined(CURLDEBUG) && defined(HAVE_FREEADDRINFO) +void +curl_dofreeaddrinfo(struct addrinfo *freethis, + int line, const char *source); +#endif + +#if defined(CURLDEBUG) && defined(HAVE_GETADDRINFO) +int +curl_dogetaddrinfo(const char *hostname, + const char *service, + const struct addrinfo *hints, + struct addrinfo **result, + int line, const char *source); +#endif + #endif /* HEADER_CURL_ADDRINFO_H */ |