summaryrefslogtreecommitdiff
path: root/ripd/ripd.h
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/ripd.h
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/ripd.h')
-rw-r--r--ripd/ripd.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/ripd/ripd.h b/ripd/ripd.h
index 7f2c3fd068..417bd5b3b1 100644
--- a/ripd/ripd.h
+++ b/ripd/ripd.h
@@ -521,10 +521,7 @@ extern int offset_list_cmp(struct rip_offset_list *o1,
extern void rip_vrf_init(void);
extern void rip_vrf_terminate(void);
-
-/* YANG notifications */
-extern void ripd_notif_send_auth_type_failure(const char *ifname);
-extern void ripd_notif_send_auth_failure(const char *ifname);
+extern void rip_cli_init(void);
extern struct zebra_privs_t ripd_privs;
extern struct rip_instance_head rip_instances;
@@ -535,8 +532,4 @@ extern struct thread_master *master;
DECLARE_HOOK(rip_ifaddr_add, (struct connected * ifc), (ifc))
DECLARE_HOOK(rip_ifaddr_del, (struct connected * ifc), (ifc))
-/* Northbound. */
-extern void rip_cli_init(void);
-extern const struct frr_yang_module_info frr_ripd_info;
-
#endif /* _ZEBRA_RIP_H */