summaryrefslogtreecommitdiff
path: root/ripd/rip_main.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-10-17 15:46:54 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-10-29 21:49:14 -0300
commitf80ec39e52e3932aa75e836cc741677f5e5cd0fb (patch)
tree251a0f0bba5030597cbec5839e6a76918b1d3ec6 /ripd/rip_main.c
parent2a1c520e9f105b1a1bbdb89d59ad3c3953f46f49 (diff)
ripd: split northbound callbacks into multiple files
Rearrange the ripd northbound callbacks as following: * rip_nb.h: prototypes of all northbound callbacks. * rip_nb.c: definition of all northbound callbacks and their associated YANG data paths. * rip_nb_config.c: implementation of YANG configuration nodes. * rip_nb_state.c: implementation of YANG state nodes. * rip_nb_rpcs.c: implementation of YANG RPCs. * rip_nb_notifications.c: implementation of YANG notifications. 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 'ripd/rip_main.c')
-rw-r--r--ripd/rip_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ripd/rip_main.c b/ripd/rip_main.c
index 773cb1d0fe..08cc515856 100644
--- a/ripd/rip_main.c
+++ b/ripd/rip_main.c
@@ -38,6 +38,7 @@
#include "libfrr.h"
#include "ripd/ripd.h"
+#include "ripd/rip_nb.h"
#include "ripd/rip_errors.h"
/* ripd options. */