diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-09-06 09:16:02 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-06 09:17:17 +0200 |
commit | abff183387ae7e4a0bb7cbdd653ff64aeb1840a7 (patch) | |
tree | 8a02613ee4ac2ac53a9109f3715a8a4de5dd5a40 /lib/hostip.h | |
parent | 3f3b26d6feb0667714902e836af608094235fca2 (diff) | |
download | curl-abff183387ae7e4a0bb7cbdd653ff64aeb1840a7.tar.gz |
setopt: add CURLOPT_DOH_URL
Closes #2668
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index 1de4bee8d..29fd1ef7c 100644 --- a/lib/hostip.h +++ b/lib/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 */ |