summaryrefslogtreecommitdiff
path: root/zebra/zebra_routemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_routemap.h')
-rw-r--r--zebra/zebra_routemap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_routemap.h b/zebra/zebra_routemap.h
index abd2ad78f7..6a630e1ac0 100644
--- a/zebra/zebra_routemap.h
+++ b/zebra/zebra_routemap.h
@@ -24,6 +24,10 @@
#include "lib/routemap.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void zebra_route_map_init(void);
extern void zebra_routemap_config_write_protocol(struct vty *vty,
struct zebra_vrf *vrf);
@@ -48,4 +52,8 @@ zebra_nht_route_map_check(afi_t afi, int client_proto, const struct prefix *p,
struct zebra_vrf *zvrf, struct route_entry *,
struct nexthop *nexthop);
+#ifdef __cplusplus
+}
+#endif
+
#endif