aboutsummaryrefslogtreecommitdiff
path: root/ares/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
commita7ba0d908da23cdf79bf353eb7f8b00192cc11b8 (patch)
treeae1177e587e18ade97f63db202b4aea9926d30b8 /ares/ares_private.h
parent2fc70e2c5d6cf45de85119106db96699556abd60 (diff)
Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family
Diffstat (limited to 'ares/ares_private.h')
-rw-r--r--ares/ares_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h
index 95bba1a98..cf67e192d 100644
--- a/ares/ares_private.h
+++ b/ares/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