mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 02:09:43 +00:00
SOA parser added
I need to do SOA queries, so here is a parser for them. - ares_soa_reply: new struct - ares_malloc_data/ares_free_soa: ARES_DATATYPE_SOA_REPLY - ares_parse_soa_reply: actual function
This commit is contained in:
committed by
Daniel Stenberg
parent
38b69b7269
commit
979bf951d3
@ -21,6 +21,7 @@ typedef enum {
|
||||
ARES_DATATYPE_ADDR_NODE, /* struct ares_addr_node - introduced in 1.7.1 */
|
||||
ARES_DATATYPE_MX_REPLY, /* struct ares_mx_reply - introduced in 1.7.2 */
|
||||
ARES_DATATYPE_NAPTR_REPLY,/* struct ares_naptr_reply - introduced in 1.7.6 */
|
||||
ARES_DATATYPE_SOA_REPLY, /* struct ares_soa_reply - introduced in 1.x.x */
|
||||
#if 0
|
||||
ARES_DATATYPE_ADDR6TTL, /* struct ares_addrttl */
|
||||
ARES_DATATYPE_ADDRTTL, /* struct ares_addr6ttl */
|
||||
@ -59,6 +60,7 @@ struct ares_data {
|
||||
struct ares_addr_node addr_node;
|
||||
struct ares_mx_reply mx_reply;
|
||||
struct ares_naptr_reply naptr_reply;
|
||||
struct ares_soa_reply soa_reply;
|
||||
} data;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user