Commit ea14aa24 authored by Brian Wellington's avatar Brian Wellington
Browse files

added dns_keynode_next

parent 538971e2
......@@ -225,6 +225,12 @@ dns_keynode_key(dns_keynode_t *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
#endif /* DNS_KEYTABLE_H */
......@@ -372,3 +372,15 @@ dns_keynode_key(dns_keynode_t *keynode) {
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);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment