2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

new function dns_rdataclass_ismeta

This commit is contained in:
Andreas Gustafsson
1999-08-16 06:45:52 +00:00
parent ebd68da027
commit 07c94c0716

View File

@@ -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);
* *
*/ */
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);