diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-12 03:48:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-12 03:48:46 +0000 |
commit | 494e45482a5bd6c9b53d0b5ba591e11a97af8a1e (patch) | |
tree | 41dd987012b84e36b13d20a643ea591f89143cae /src/or/eventdns.h | |
parent | 66ae4dceb00fe8912705b23bdddb415f066d29f2 (diff) | |
download | tor-494e45482a5bd6c9b53d0b5ba591e11a97af8a1e.tar.gz tor-494e45482a5bd6c9b53d0b5ba591e11a97af8a1e.zip |
r11536@Kushana: nickm | 2006-12-11 22:48:21 -0500
Add ipv6 functionality to evdns.
svn:r9089
Diffstat (limited to 'src/or/eventdns.h')
-rw-r--r-- | src/or/eventdns.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/eventdns.h b/src/or/eventdns.h index 19a924e2b2..439f7787be 100644 --- a/src/or/eventdns.h +++ b/src/or/eventdns.h @@ -41,6 +41,7 @@ #define DNS_IPv4_A 1 #define DNS_PTR 2 +#define DNS_IPv4_AAAA 3 #define DNS_QUERY_NO_SEARCH 1 @@ -60,8 +61,11 @@ int evdns_clear_nameservers_and_suspend(void); int evdns_resume(void); int evdns_nameserver_ip_add(const char *ip_as_string); int evdns_resolve_ipv4(const char *name, int flags, evdns_callback_type callback, void *ptr); +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 *addr, int flags, evdns_callback_type callback, void *ptr); +int evdns_resolve_reverse_ipv6(struct in6_addr *addr, int flags, evdns_callback_type callback, void *ptr); int evdns_resolv_conf_parse(int flags, const char *); #ifdef MS_WINDOWS int evdns_config_windows_nameservers(void); |