diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-19 18:52:00 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-19 18:52:00 +0000 |
commit | 029be5ad02cfec8d9b96b3466a03a353183f561a (patch) | |
tree | 1cd1a87b153e8aabfef10d8d6d8f8813f6e1bdf0 /src/or/eventdns.h | |
parent | efb863189cd4500e9cdaf8f5665f9756ae12dfde (diff) | |
download | tor-029be5ad02cfec8d9b96b3466a03a353183f561a.tar.gz tor-029be5ad02cfec8d9b96b3466a03a353183f561a.zip |
Move in-addr.arpa parsing and generation into address.c, and simplify the code that does it elsewhere. Incidentally, this lets exit servers answer requests for ip6.arpa addresses.
svn:r17707
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r-- | src/or/eventdns.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h index d1c34ade7c..df5b936923 100644 --- a/src/or/eventdns.h +++ b/src/or/eventdns.h @@ -268,8 +268,8 @@ int evdns_resolve_ipv4(const char *name, int flags, evdns_callback_type callback int evdns_resolve_ipv6(const char *name, int flags, evdns_callback_type callback, void *ptr); 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_resolve_reverse(const struct in_addr *in, int flags, evdns_callback_type callback, void *ptr); +int evdns_resolve_reverse_ipv6(const 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 |