summaryrefslogtreecommitdiff
path: root/evdns.h
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2007-01-27 04:27:59 +0000
committerNiels Provos <provos@gmail.com>2007-01-27 04:27:59 +0000
commit78f2aa300c941029c7cf808755df9b1e7007fc05 (patch)
treee8e958fe88abf856c865a424c91cfcd60f7be2fc /evdns.h
parentb776b2da7282414d9bf42bb21c7c1fd4293cbd02 (diff)
downloadlibevent-78f2aa300c941029c7cf808755df9b1e7007fc05.tar.gz
Allow setting of more DNS options via API; from Nick Mathewson!!!
svn:r318
Diffstat (limited to 'evdns.h')
-rw-r--r--evdns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/evdns.h b/evdns.h
index 4b4f5a93..36c0d13e 100644
--- a/evdns.h
+++ b/evdns.h
@@ -213,6 +213,7 @@
* 3 file too large
* 4 out of memory
* 5 short read from file
+ * 6 no nameservers in file
*
* Internals:
*
@@ -298,6 +299,7 @@ struct in_addr;
struct in6_addr;
int evdns_resolve_reverse(struct in_addr *in, int flags, evdns_callback_type callback, void *ptr);
int evdns_resolve_reverse_ipv6(struct in6_addr *in, int flags, evdns_callback_type callback, void *ptr);
+int evdns_set_option(const char *option, const char *val, int flags);
int evdns_resolv_conf_parse(int flags, const char *);
#ifdef MS_WINDOWS
int evdns_config_windows_nameservers(void);