diff options
author | saghul <saghul@gmail.com> | 2012-02-23 23:15:07 +0100 |
---|---|---|
committer | saghul <saghul@gmail.com> | 2012-02-23 23:15:07 +0100 |
commit | 6bab0393c42857232ce1194e5283a797ec4c6231 (patch) | |
tree | 8c74d41879fcbc65f10965d8692ee68ed9f96bad /ares_data.h | |
parent | 4ab65461b6aefd0654a5b586bc6ee57976f3fba3 (diff) | |
download | c-ares-6bab0393c42857232ce1194e5283a797ec4c6231.tar.gz c-ares-6bab0393c42857232ce1194e5283a797ec4c6231.tar.bz2 c-ares-6bab0393c42857232ce1194e5283a797ec4c6231.zip |
Added support for parsing NAPTR records
Diffstat (limited to 'ares_data.h')
-rw-r--r-- | ares_data.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ares_data.h b/ares_data.h index de1608b..a6acd20 100644 --- a/ares_data.h +++ b/ares_data.h @@ -20,6 +20,7 @@ typedef enum { ARES_DATATYPE_TXT_REPLY, /* struct ares_txt_reply - introduced in 1.7.0 */ 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 */ #if 0 ARES_DATATYPE_ADDR6TTL, /* struct ares_addrttl */ ARES_DATATYPE_ADDRTTL, /* struct ares_addr6ttl */ @@ -53,10 +54,11 @@ struct ares_data { ares_datatype type; /* Actual data type identifier. */ unsigned int mark; /* Private ares_data signature. */ union { - struct ares_txt_reply txt_reply; - struct ares_srv_reply srv_reply; - struct ares_addr_node addr_node; - struct ares_mx_reply mx_reply; + struct ares_txt_reply txt_reply; + struct ares_srv_reply srv_reply; + struct ares_addr_node addr_node; + struct ares_mx_reply mx_reply; + struct ares_naptr_reply naptr_reply; } data; }; |