summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-12-07 18:35:29 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-12-13 07:57:15 -0500
commit05f7f5db890329d4900429627987be07311cb38c (patch)
tree70359bd3d4ea9e2d66fe037587b57a582fa47aa3 /zebra/interface.h
parentc0d136aec2508a39cd687c7764a58e1cb6697f5b (diff)
zebra: Make zserv.h the true api for zapi northbound
zserv.c had a grab bag of function declarations that did not belong in it. Move those to where they better belong. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index f095a32d1e..61c3359f3b 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -313,6 +313,8 @@ static inline void zebra_if_set_ziftype(struct interface *ifp,
#define IS_ZEBRA_IF_VRF_SLAVE(ifp) \
(((struct zebra_if *)(ifp->info))->zif_slave_type == ZEBRA_IF_SLAVE_VRF)
+extern void zebra_if_init(void);
+
extern struct interface *if_lookup_by_index_per_ns(struct zebra_ns *,
u_int32_t);
extern struct interface *if_lookup_by_name_per_ns(struct zebra_ns *,