summaryrefslogtreecommitdiffstats
path: root/zebra/zapi_msg.h
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2019-03-25 15:11:55 +0100
committerEmanuele Di Pascale <emanuele@voltanet.io>2019-03-25 16:05:27 +0100
commit51e94aa7b167b5197f634eec11dc456994787993 (patch)
tree286cdc3e00e8c21c718da3f164614a9c2c85ae2b /zebra/zapi_msg.h
parentMerge pull request #3772 from pguibert6WIND/vrf_backend_unknown (diff)
downloadfrr-51e94aa7b167b5197f634eec11dc456994787993.tar.xz
frr-51e94aa7b167b5197f634eec11dc456994787993.zip
add cplusplus guards to all zebra headers
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
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 b770b8e88..d30fa2d0e 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