diff options
Diffstat (limited to 'ares_private.h')
-rw-r--r-- | ares_private.h | 4 |
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 |