summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-10 23:30:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-10 23:30:34 +0000
commit958690522090718e23b12ccd5000e87c5544fbd7 (patch)
tree007ba99c4d45b4c0bbb18bfc1a027759c56c03c5 /ares.h
parent989849366122cdd1abd7caa1ce979145e96ccdca (diff)
downloadc-ares-958690522090718e23b12ccd5000e87c5544fbd7.tar.gz
c-ares-958690522090718e23b12ccd5000e87c5544fbd7.tar.bz2
c-ares-958690522090718e23b12ccd5000e87c5544fbd7.zip
Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The
first little steps towards IPv6 support!
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares.h b/ares.h
index 162e724..d032de4 100644
--- a/ares.h
+++ b/ares.h
@@ -137,12 +137,13 @@ int ares_expand_string(const unsigned char *encoded, const unsigned char *abuf,
int alen, unsigned char **s, long *enclen);
int ares_parse_a_reply(const unsigned char *abuf, int alen,
struct hostent **host);
+int ares_parse_aaaa_reply(const unsigned char *abuf, int alen,
+ struct hostent **host);
int ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr,
int addrlen, int family, struct hostent **host);
void ares_free_string(void *str);
void ares_free_hostent(struct hostent *host);
const char *ares_strerror(int code);
-void ares_free_errmem(char *mem);
#ifdef __cplusplus
}