diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2018-11-03 00:56:26 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2018-11-26 20:38:08 +0100 |
commit | e0ccfad220d80c1d02b327fd0ee24faf6a8d2bd4 (patch) | |
tree | fcfd051fb691b38b615c3c77631dcf4e876060f5 /ospf6d/subdir.am | |
parent | lib: introduce function that loads all FRR native YANG modules (diff) | |
download | frr-e0ccfad220d80c1d02b327fd0ee24faf6a8d2bd4.tar.xz frr-e0ccfad220d80c1d02b327fd0ee24faf6a8d2bd4.zip |
lib: rework the yang schema node iteration functions
* Rename yang_snodes_iterate() to yang_snodes_iterate_subtree() and
expose it in the public API.
* Rename yang_module_snodes_iterate() to yang_snodes_iterate_module().
* Rename yang_all_snodes_iterate() to yang_snodes_iterate_all().
* Make it possible to stop the iteration at any time by returning
YANG_ITER_STOP in the iteration callbacks.
* Make the iteration callbacks accept only one user argument and not
two.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospf6d/subdir.am')
0 files changed, 0 insertions, 0 deletions