2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

cleanups, magic

This commit is contained in:
Bob Halley
1999-01-15 08:06:41 +00:00
parent 4dfd81d8c8
commit f3a8ab700b

View File

@@ -57,13 +57,18 @@
#include <dns/result.h>
typedef struct dns_rdatasetmethods {
dns_result_t (*disassociate)(dns_rdataset_t *rdatasetp);
dns_result_t (*disassociate)(dns_rdataset_t *rdataset);
dns_result_t (*first)(dns_rdataset_t *rdataset);
dns_result_t (*next)(dns_rdataset_t *rdataset);
void (*current)(dns_rdataset_t *rdataset,
dns_rdata_t *rdata);
} dns_rdatasetmethods_t;
#define DNS_RDATASET_MAGIC 0x444E5352U /* DNSR. */
#define DNS_RDATASET_VALID(rdataset) ((rdataset) != NULL && \
(rdataset)->magic == \
DNS_RDATASET_MAGIC)
/*
* Direct use of this structure by clients is strongly discouraged, except
* for the 'link' field which may be used however the client wishes. The