summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 6e8066381f..4ada064623 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -38,6 +38,10 @@
#include "mlag.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Zebra types. Used in Zserv message header. */
typedef uint16_t zebra_size_t;
@@ -826,4 +830,8 @@ extern void zclient_send_mlag_data(struct zclient *client,
*/
extern int zclient_send_hello(struct zclient *client);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _ZEBRA_ZCLIENT_H */