]> git.puffer.fish Git - matthieu/frr.git/commit
lib: combine two YANG schema iteration functions into one
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 23 Oct 2020 01:19:10 +0000 (22:19 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 23 Oct 2020 21:18:22 +0000 (18:18 -0300)
commit8d869d378bf10ee02e4aed66c9c3c16f15fe0c26
tree04dadc1e6681ffa3f4939da8367889d62f95cdb5
parent9bde0b256919ff3987ea60101229fec195324102
lib: combine two YANG schema iteration functions into one

Combine yang_snodes_iterate_module() and yang_snodes_iterate_all()
into an unified yang_snodes_iterate() function, where the first
"module" parameter is optional. There's no point in having two
separate YANG schema iteration functions anymore now that they are
too similar.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/northbound.c
lib/northbound_confd.c
lib/northbound_sysrepo.c
lib/yang.c
lib/yang.h
lib/yang_translator.c
tools/gen_northbound_callbacks.c
tools/gen_yang_deviations.c