summaryrefslogtreecommitdiffstats
path: root/lib/routemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/routemap.h')
-rw-r--r--lib/routemap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/routemap.h b/lib/routemap.h
index 6fd88ba5d..e43e74a63 100644
--- a/lib/routemap.h
+++ b/lib/routemap.h
@@ -26,6 +26,10 @@
#include "qobj.h"
#include "vty.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
DECLARE_MTYPE(ROUTE_MAP_NAME)
DECLARE_MTYPE(ROUTE_MAP_RULE)
DECLARE_MTYPE(ROUTE_MAP_COMPILED)
@@ -388,4 +392,8 @@ extern void route_map_counter_increment(struct route_map *map);
/* Decrement the route-map used counter */
extern void route_map_counter_decrement(struct route_map *map);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _ZEBRA_ROUTEMAP_H */