summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zapi_msg.h')
-rw-r--r--zebra/zapi_msg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zapi_msg.h b/zebra/zapi_msg.h
index b770b8e881..d30fa2d0ef 100644
--- a/zebra/zapi_msg.h
+++ b/zebra/zapi_msg.h
@@ -30,6 +30,10 @@
#include "zebra/zebra_pbr.h"
#include "zebra/zebra_errors.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* This is called to process inbound ZAPI messages.
*
@@ -86,3 +90,7 @@ extern void zserv_nexthop_num_warn(const char *caller, const struct prefix *p,
const unsigned int nexthop_num);
extern void zsend_capabilities_all_clients(void);
+
+#ifdef __cplusplus
+}
+#endif