summaryrefslogtreecommitdiffstats
path: root/ares_private.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-02-01 21:23:59 +0100
committerJakub Hrozek <jhrozek@redhat.com>2010-02-01 21:23:59 +0100
commit24d5a984ddac3762093b08f0fa186973301ab0c9 (patch)
treea3c7bf0cfb031a8fa837be064d0c7011488d19d1 /ares_private.h
parent1e177e09238804a516cd8b92e8dc097d98983433 (diff)
downloadc-ares-foo.tar.gz
c-ares-foo.tar.xz
c-ares-foo.zip
Improved IPv6 patchfoo
Diffstat (limited to 'ares_private.h')
-rw-r--r--ares_private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ares_private.h b/ares_private.h
index 4726d7a..e4ebe73 100644
--- a/ares_private.h
+++ b/ares_private.h
@@ -137,7 +137,7 @@ struct send_request {
};
struct server_state {
- struct in_addr addr;
+ struct addrinfo *addr;
ares_socket_t udp_socket;
ares_socket_t tcp_socket;
@@ -319,6 +319,8 @@ struct timeval ares__tvnow(void);
int ares__expand_name_for_response(const unsigned char *encoded,
const unsigned char *abuf, int alen,
char **s, long *enclen);
+void ares__free_servers(ares_channel channel);
+
#if 0 /* Not used */
long ares__tvdiff(struct timeval t1, struct timeval t2);
#endif