1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-21 07:39:44 +00:00

Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The

first little steps towards IPv6 support!
This commit is contained in:
Daniel Stenberg
2005-03-10 23:30:34 +00:00
parent 9898493661
commit 9586905220
7 changed files with 283 additions and 6 deletions

3
ares.h
View File

@ -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
}