aboutsummaryrefslogtreecommitdiff
path: root/src/or/eventdns.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-12-28 21:29:31 +0000
committerNick Mathewson <nickm@torproject.org>2006-12-28 21:29:31 +0000
commit3996fd1d9dd3e4815a898aa0b9154ea0fab4ec3d (patch)
tree2bb380610ca3bfe7e9543de770dcd862c2d18241 /src/or/eventdns.h
parent460a476efacd2032ff0a13a6bcb5c694d49f9f72 (diff)
downloadtor-3996fd1d9dd3e4815a898aa0b9154ea0fab4ec3d.tar
tor-3996fd1d9dd3e4815a898aa0b9154ea0fab4ec3d.tar.gz
r11726@Kushana: nickm | 2006-12-28 16:24:06 -0500
Expose a function from eventdns.c to set options without having to make a fake configuration file. Also, add more settable options svn:r9202
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r--src/or/eventdns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h
index f1c05d9f8..427503154 100644
--- a/src/or/eventdns.h
+++ b/src/or/eventdns.h
@@ -269,6 +269,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);