]> git.proxmox.com Git - mirror_frr.git/commit - ripngd/ripng_nb_config.c
ripngd: split northbound callbacks into multiple files
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 17 Oct 2019 19:03:09 +0000 (16:03 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 30 Oct 2019 00:49:14 +0000 (21:49 -0300)
commitca4739362988cc1591bf977dd9db0b911ed4f158
treea747e08b6a656501591bc6d64c75aee7a248829b
parentf80ec39e52e3932aa75e836cc741677f5e5cd0fb
ripngd: split northbound callbacks into multiple files

Rearrange the ripngd northbound callbacks as following:
* ripng_nb.h: prototypes of all northbound callbacks.
* ripng_nb.c: definition of all northbound callbacks and their
  associated YANG data paths.
* ripng_nb_config.c: implementation of YANG configuration nodes.
* ripng_nb_state.c: implementation of YANG state nodes.
* ripng_nb_rpcs.c: implementation of YANG RPCs.

This should help to keep to code more organized and easier to
maintain.

No behavior changes intended.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ripngd/ripng_cli.c
ripngd/ripng_cli.h [deleted file]
ripngd/ripng_main.c
ripngd/ripng_nb.c [new file with mode: 0644]
ripngd/ripng_nb.h [new file with mode: 0644]
ripngd/ripng_nb_config.c [new file with mode: 0644]
ripngd/ripng_nb_rpcs.c [new file with mode: 0644]
ripngd/ripng_nb_state.c [new file with mode: 0644]
ripngd/ripng_northbound.c [deleted file]
ripngd/ripngd.h
ripngd/subdir.am