mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 21:17:54 +00:00
added dns_keynode_next
This commit is contained in:
parent
538971e27d
commit
ea14aa24aa
@ -225,6 +225,12 @@ dns_keynode_key(dns_keynode_t *keynode);
|
|||||||
* Get the DST key associated with keynode.
|
* Get the DST key associated with keynode.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
dns_keynode_t *
|
||||||
|
dns_keynode_next(dns_keynode_t *keynode);
|
||||||
|
/*
|
||||||
|
* Get the next keynode in the list.
|
||||||
|
*/
|
||||||
|
|
||||||
ISC_LANG_ENDDECLS
|
ISC_LANG_ENDDECLS
|
||||||
|
|
||||||
#endif /* DNS_KEYTABLE_H */
|
#endif /* DNS_KEYTABLE_H */
|
||||||
|
@ -372,3 +372,15 @@ dns_keynode_key(dns_keynode_t *keynode) {
|
|||||||
|
|
||||||
return (keynode->key);
|
return (keynode->key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dns_keynode_t *
|
||||||
|
dns_keynode_next(dns_keynode_t *keynode) {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Get the next keynode in the list.
|
||||||
|
*/
|
||||||
|
|
||||||
|
REQUIRE(VALID_KEYNODE(keynode));
|
||||||
|
|
||||||
|
return (keynode->next);
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user