summaryrefslogtreecommitdiff
path: root/ares_private.h
diff options
context:
space:
mode:
authorDominick Meglio <dcm5151@esu.edu>2005-04-08 15:41:31 +0000
committerDominick Meglio <dcm5151@esu.edu>2005-04-08 15:41:31 +0000
commit29d71bd49985ffc226bb55e0717600eb061ba699 (patch)
treeeb9b480517a7316b1d35fca47d65497fdad4d8f7 /ares_private.h
parent2a0239bab1b7654d7c770011b8a035f6660ca4fe (diff)
downloadc-ares-29d71bd49985ffc226bb55e0717600eb061ba699.tar.gz
c-ares-29d71bd49985ffc226bb55e0717600eb061ba699.tar.bz2
c-ares-29d71bd49985ffc226bb55e0717600eb061ba699.zip
Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family
Diffstat (limited to 'ares_private.h')
-rw-r--r--ares_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_private.h b/ares_private.h
index 95bba1a..cf67e19 100644
--- a/ares_private.h
+++ b/ares_private.h
@@ -156,7 +156,7 @@ struct ares_channeldata {
void ares__send_query(ares_channel channel, struct query *query, time_t now);
void ares__close_sockets(struct server_state *server);
-int ares__get_hostent(FILE *fp, struct hostent **host);
+int ares__get_hostent(FILE *fp, int family, struct hostent **host);
int ares__read_line(FILE *fp, char **buf, int *bufsize);
#ifdef CURLDEBUG