diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-10-17 16:03:09 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-10-29 21:49:14 -0300 | 
| commit | ca4739362988cc1591bf977dd9db0b911ed4f158 (patch) | |
| tree | a747e08b6a656501591bc6d64c75aee7a248829b /ripngd/ripng_main.c | |
| parent | f80ec39e52e3932aa75e836cc741677f5e5cd0fb (diff) | |
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 4b027019c0..3f2c0e9da0 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}};  | 
