Commit 07c94c07 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

new function dns_rdataclass_ismeta

parent ebd68da0
...@@ -431,7 +431,7 @@ void dns_rdata_freestruct(void *source); ...@@ -431,7 +431,7 @@ void dns_rdata_freestruct(void *source);
isc_boolean_t dns_rdatatype_ismeta(dns_rdatatype_t type); isc_boolean_t dns_rdatatype_ismeta(dns_rdatatype_t type);
/* /*
* Find out whether the rdata type 'type' is a meta type * Find out whether the rdata type 'type' is a meta-type
* like ANY or AXFR. * like ANY or AXFR.
* *
* Requires: * Requires:
...@@ -439,6 +439,16 @@ isc_boolean_t dns_rdatatype_ismeta(dns_rdatatype_t type); ...@@ -439,6 +439,16 @@ isc_boolean_t dns_rdatatype_ismeta(dns_rdatatype_t type);
* *
*/ */
isc_boolean_t dns_rdataclass_ismeta(dns_rdataclass_t rdclass);
/*
* Find out whether the rdata class 'rdclass' is a meta-class
* like ANY or NONE.
*
* Requires:
* 'rdclass' is a valid rdata class.
*
*/
dns_result_t dns_result_t
dns_rdata_additionaldata(dns_rdata_t *rdata, dns_additionaldatafunc_t add, dns_rdata_additionaldata(dns_rdata_t *rdata, dns_additionaldatafunc_t add,
void *arg); void *arg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment