summaryrefslogtreecommitdiff
path: root/zebra/redistribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/redistribute.h')
-rw-r--r--zebra/redistribute.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/redistribute.h b/zebra/redistribute.h
index f0dc79574c..74a593b240 100644
--- a/zebra/redistribute.h
+++ b/zebra/redistribute.h
@@ -29,6 +29,10 @@
#include "zebra/zserv.h"
#include "zebra/rib.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* ZAPI command handlers */
extern void zebra_redistribute_add(ZAPI_HANDLER_ARGS);
extern void zebra_redistribute_delete(ZAPI_HANDLER_ARGS);
@@ -73,4 +77,9 @@ extern int is_zebra_import_table_enabled(afi_t, uint32_t table_id);
extern int zebra_import_table_config(struct vty *);
extern void zebra_import_table_rm_update(const char *rmap);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _ZEBRA_REDISTRIBUTE_H */