From bf094f69758888e3bd555a24e91f3768bffbf31a Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Sun, 22 Apr 2018 16:01:20 -0400 Subject: zebra: clean up zapi organization zserv.c has become something of a dumping ground for everything vaguely related to ZAPI and really needs some love. This change splits out the code fo building and consuming ZAPI messages into a separate source file, leaving the actual session and client lifecycle code in zserv.c. Unfortunately since the #include situation in Zebra has not been paid much attention I was forced to fix the headers in a lot of other source files. This is a net improvement overall though. Signed-off-by: Quentin Young --- zebra/zebra_ns.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zebra/zebra_ns.h') diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h index fbf88ae6ea..c93db2a764 100644 --- a/zebra/zebra_ns.h +++ b/zebra/zebra_ns.h @@ -25,6 +25,9 @@ #include #include +#include "zebra/rib.h" +#include "zebra/zebra_vrf.h" + #ifdef HAVE_NETLINK /* Socket interface to kernel */ struct nlsock { -- cgit v1.2.3