summaryrefslogtreecommitdiff
path: root/zebra/zebra_ptm.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_ptm.h')
-rw-r--r--zebra/zebra_ptm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_ptm.h b/zebra/zebra_ptm.h
index d0cdaf0bce..e578a02a94 100644
--- a/zebra/zebra_ptm.h
+++ b/zebra/zebra_ptm.h
@@ -31,6 +31,10 @@ extern const char ZEBRA_PTM_SOCK_NAME[];
#include "zebra/zserv.h"
#include "zebra/interface.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Zebra ptm context block */
struct zebra_ptm_cb {
int ptm_sock; /* ptm file descriptor. */
@@ -87,4 +91,9 @@ void zebra_ptm_if_init(struct zebra_if *zebra_ifp);
void zebra_ptm_if_set_ptm_state(struct interface *ifp,
struct zebra_if *zebra_ifp);
void zebra_ptm_if_write(struct vty *vty, struct zebra_if *zebra_ifp);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif