Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
f3a8ab70
Commit
f3a8ab70
authored
Jan 15, 1999
by
Bob Halley
Browse files
cleanups, magic
parent
4dfd81d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/include/dns/rdataset.h
View file @
f3a8ab70
...
...
@@ -57,13 +57,18 @@
#include
<dns/result.h>
typedef
struct
dns_rdatasetmethods
{
dns_result_t
(
*
disassociate
)(
dns_rdataset_t
*
rdataset
p
);
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment