diff options
author | Jason Glasgow <jglasgow@chromium.org> | 2011-04-12 11:34:28 -0400 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-11-17 22:52:33 +0100 |
commit | 8d0a504f0d34c2471393ef23fb2345c73c5d4746 (patch) | |
tree | 5cee8cd7d280a1bbcdc0aba572234848d5459873 /lib/hostip.h | |
parent | 967b2f87a81959630d5c8e4ead72d86d37aad616 (diff) | |
download | curl-8d0a504f0d34c2471393ef23fb2345c73c5d4746.tar.gz |
CURLOPT_DNS_SERVERS: set name servers if possible
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index 32a37b9dd..dbbb1f7a2 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -195,4 +195,9 @@ Curl_cache_addr(struct SessionHandle *data, Curl_addrinfo *addr, extern sigjmp_buf curl_jmpenv; #endif +/* + * Function provided by the resolver backend to set DNS servers to use. + */ +CURLcode Curl_set_dns_servers(struct SessionHandle *data, char *servers); + #endif /* HEADER_CURL_HOSTIP_H */ |