aboutsummaryrefslogtreecommitdiff
path: root/lib/hostsyn.c
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/hostsyn.c
parent967b2f87a81959630d5c8e4ead72d86d37aad616 (diff)
CURLOPT_DNS_SERVERS: set name servers if possible
Diffstat (limited to 'lib/hostsyn.c')
-rw-r--r--lib/hostsyn.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/hostsyn.c b/lib/hostsyn.c
index b60188708..d1a907924 100644
--- a/lib/hostsyn.c
+++ b/lib/hostsyn.c
@@ -66,5 +66,16 @@
**********************************************************************/
#ifdef CURLRES_SYNCH
+/*
+ * Function provided by the resolver backend to set DNS servers to use.
+ */
+CURLcode Curl_set_dns_servers(struct SessionHandle *data,
+ char *servers)
+{
+ (void)data;
+ (void)servers;
+ return CURLE_NOT_BUILT_IN;
+
+}
#endif /* truly sync */