summaryrefslogtreecommitdiff
path: root/zebra/zebra_mlag.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_mlag.h')
-rw-r--r--zebra/zebra_mlag.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_mlag.h b/zebra/zebra_mlag.h
index d44a400666..66f5c4c67e 100644
--- a/zebra/zebra_mlag.h
+++ b/zebra/zebra_mlag.h
@@ -30,6 +30,10 @@
#include "mlag/mlag.pb-c.h"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define ZEBRA_MLAG_BUF_LIMIT 2048
#define ZEBRA_MLAG_LEN_SIZE 4
@@ -73,4 +77,8 @@ int zebra_mlag_protobuf_encode_client_data(struct stream *s,
uint32_t *msg_type);
int zebra_mlag_protobuf_decode_message(struct stream *s, uint8_t *data,
uint32_t len);
+#ifdef __cplusplus
+}
+#endif
+
#endif