diff options
author | dartraiden <wowemuh@gmail.com> | 2018-11-07 14:53:00 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2018-11-07 14:53:00 +0300 |
commit | deb3dda96648e7ae5b83c6ea3d35a92a0c1476fa (patch) | |
tree | 2b502144017db5ba30db1febbe4ae6d33873c5bd /libs/libcurl/src/hostip.h | |
parent | 1b0acf437a564bdcd97f4807fa7921d126fdffef (diff) |
libcurl: update to 7.62
Diffstat (limited to 'libs/libcurl/src/hostip.h')
-rw-r--r-- | libs/libcurl/src/hostip.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/libcurl/src/hostip.h b/libs/libcurl/src/hostip.h index 1de4bee8d6..29fd1ef7cc 100644 --- a/libs/libcurl/src/hostip.h +++ b/libs/libcurl/src/hostip.h @@ -145,12 +145,7 @@ int curl_dogetnameinfo(GETNAMEINFO_QUAL_ARG1 GETNAMEINFO_TYPE_ARG1 sa, /* IPv4 threadsafe resolve function used for synch and asynch builds */ Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, int port); -CURLcode Curl_async_resolved(struct connectdata *conn, - bool *protocol_connect); - -#ifndef CURLRES_ASYNCH -#define Curl_async_resolved(x,y) CURLE_OK -#endif +CURLcode Curl_once_resolved(struct connectdata *conn, bool *protocol_connect); /* * Curl_addrinfo_callback() is used when we build with any asynch specialty. @@ -258,4 +253,10 @@ void Curl_hostcache_destroy(struct Curl_easy *data); */ CURLcode Curl_loadhostpairs(struct Curl_easy *data); +CURLcode Curl_resolv_check(struct connectdata *conn, + struct Curl_dns_entry **dns); +int Curl_resolv_getsock(struct connectdata *conn, + curl_socket_t *socks, + int numsocks); + #endif /* HEADER_CURL_HOSTIP_H */ |