diff options
author | Jérémy Lal <kapouer@melix.org> | 2010-04-18 00:29:26 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-04-18 00:29:26 +0200 |
commit | 63918fca7667a03b310c5f8486636a896be7ac72 (patch) | |
tree | d403f6919268eaa232ed5b513125d848a8af96df /ares.h | |
parent | f28874d3233adad18f4c25df8d9437d0c9e7c3eb (diff) | |
download | c-ares-63918fca7667a03b310c5f8486636a896be7ac72.tar.gz c-ares-63918fca7667a03b310c5f8486636a896be7ac72.tar.bz2 c-ares-63918fca7667a03b310c5f8486636a896be7ac72.zip |
added ares_parse_mx_reply
Diffstat (limited to 'ares.h')
-rw-r--r-- | ares.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -433,6 +433,12 @@ struct ares_srv_reply { unsigned short port; }; +struct ares_mx_reply { + struct ares_mx_reply *next; + char *host; + unsigned short priority; +}; + struct ares_txt_reply { struct ares_txt_reply *next; unsigned char *txt; @@ -474,6 +480,10 @@ CARES_EXTERN int ares_parse_srv_reply(const unsigned char* abuf, int alen, struct ares_srv_reply** srv_out); +CARES_EXTERN int ares_parse_mx_reply(const unsigned char* abuf, + int alen, + struct ares_mx_reply** mx_out); + CARES_EXTERN int ares_parse_txt_reply(const unsigned char* abuf, int alen, struct ares_txt_reply** txt_out); |