summaryrefslogtreecommitdiff
path: root/lib/asyn-thread.c
diff options
context:
space:
mode:
authorKim Vandry <vandry@TZoNE.ORG>2013-09-07 12:45:50 -0400
committerDaniel Stenberg <daniel@haxx.se>2013-09-12 21:11:47 +0200
commitdf69440d05f1133a9053e19a9bf576c8b13514b9 (patch)
treecfe02627be58fea1a429efa2112dfa3969a981c1 /lib/asyn-thread.c
parent345955e87e21769e917cf407c5c794a05c4f2612 (diff)
downloadcurl-df69440d05f1133a9053e19a9bf576c8b13514b9.tar.gz
libcurl: New options to bind DNS to local interfaces or IP addresses
Diffstat (limited to 'lib/asyn-thread.c')
-rw-r--r--lib/asyn-thread.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c
index 81d1d5d5d..206dcdb1f 100644
--- a/lib/asyn-thread.c
+++ b/lib/asyn-thread.c
@@ -635,4 +635,28 @@ CURLcode Curl_set_dns_servers(struct SessionHandle *data,
}
+CURLcode Curl_set_dns_interface(struct SessionHandle *data,
+ const char *interface)
+{
+ (void)data;
+ (void)interface;
+ return CURLE_NOT_BUILT_IN;
+}
+
+CURLcode Curl_set_dns_local_ip4(struct SessionHandle *data,
+ const char *local_ip4)
+{
+ (void)data;
+ (void)local_ip4;
+ return CURLE_NOT_BUILT_IN;
+}
+
+CURLcode Curl_set_dns_local_ip6(struct SessionHandle *data,
+ const char *local_ip6)
+{
+ (void)data;
+ (void)local_ip6;
+ return CURLE_NOT_BUILT_IN;
+}
+
#endif /* CURLRES_THREADED */