summaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
authorJason Glasgow <jglasgow@chromium.org>2011-04-12 11:34:28 -0400
committerDaniel Stenberg <daniel@haxx.se>2011-11-17 22:52:33 +0100
commit8d0a504f0d34c2471393ef23fb2345c73c5d4746 (patch)
tree5cee8cd7d280a1bbcdc0aba572234848d5459873 /lib/hostip.h
parent967b2f87a81959630d5c8e4ead72d86d37aad616 (diff)
downloadgnurl-8d0a504f0d34c2471393ef23fb2345c73c5d4746.tar.gz
gnurl-8d0a504f0d34c2471393ef23fb2345c73c5d4746.tar.bz2
gnurl-8d0a504f0d34c2471393ef23fb2345c73c5d4746.zip
CURLOPT_DNS_SERVERS: set name servers if possible
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h5
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 */