summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_vrf.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/zebra_vrf.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/zebra_vrf.h')
-rw-r--r--zebra/zebra_vrf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h
index e35101d83..502fc343c 100644
--- a/zebra/zebra_vrf.h
+++ b/zebra/zebra_vrf.h
@@ -28,6 +28,10 @@
#include <zebra/zebra_pw.h>
#include <lib/vxlan.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* MPLS (Segment Routing) global block */
typedef struct mpls_srgb_t_ {
uint32_t start_label;
@@ -203,4 +207,9 @@ extern void zebra_vrf_init(void);
extern void zebra_rtable_node_cleanup(struct route_table *table,
struct route_node *node);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ZEBRA_VRF_H */