2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 07:35:26 +00:00

add list field

This commit is contained in:
Bob Halley
1999-01-13 19:15:05 +00:00
parent 8198371caa
commit d57fd9900a

View File

@@ -175,7 +175,9 @@ dns_bitlabel_t dns_label_getbit(dns_label_t *label, unsigned int n);
***/ ***/
/* /*
* Clients are strongly discouraged from using this type directly. * Clients are strongly discouraged from using this type directly, with
* the exception of the 'link' and 'list' fields which may be used directly
* for whatever purpose the client desires.
*/ */
struct dns_name { struct dns_name {
unsigned int magic; unsigned int magic;
@@ -184,6 +186,7 @@ struct dns_name {
unsigned int labels; unsigned int labels;
unsigned char * offsets; unsigned char * offsets;
ISC_LINK(dns_name_t) link; ISC_LINK(dns_name_t) link;
ISC_LIST(dns_rdatalist_t) list;
}; };
extern dns_name_t *dns_rootname; extern dns_name_t *dns_rootname;
@@ -245,7 +248,8 @@ isc_boolean_t dns_name_isabsolute(dns_name_t *name);
*** Comparisons *** Comparisons
***/ ***/
int dns_name_compare(dns_name_t *name1, dns_name_t *name2); int
dns_name_compare(dns_name_t *name1, dns_name_t *name2);
/* /*
* Determine the relative ordering under the DNSSEC order relation of * Determine the relative ordering under the DNSSEC order relation of
* 'name1' and 'name2'. * 'name1' and 'name2'.