diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2019-10-17 21:03:09 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2019-10-30 01:49:14 +0100 |
commit | ca4739362988cc1591bf977dd9db0b911ed4f158 (patch) | |
tree | a747e08b6a656501591bc6d64c75aee7a248829b /ripngd/ripng_main.c | |
parent | ripd: split northbound callbacks into multiple files (diff) | |
download | frr-ca4739362988cc1591bf977dd9db0b911ed4f158.tar.xz frr-ca4739362988cc1591bf977dd9db0b911ed4f158.zip |
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>
Diffstat (limited to 'ripngd/ripng_main.c')
-rw-r--r-- | ripngd/ripng_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 4b027019c..3f2c0e9da 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -39,6 +39,7 @@ #include "libfrr.h" #include "ripngd/ripngd.h" +#include "ripngd/ripng_nb.h" /* RIPngd options. */ struct option longopts[] = {{0}}; |