]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/imsg.h
Merge pull request #4849 from sworleys/Label-Append-Resolve_2
[mirror_frr.git] / lib / imsg.h
index eed7074e4af8a7f897645d9e913f666f6430d880..3f81b76bea084e2c05aac7d972471e3bdcdf3156 100644 (file)
 #ifndef _IMSG_H_
 #define _IMSG_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define IBUF_READ_SIZE         65535
 #define IMSG_HEADER_SIZE       sizeof(struct imsg_hdr)
 #define MAX_IMSGSIZE           16384
@@ -108,4 +112,8 @@ void imsg_free(struct imsg *);
 int imsg_flush(struct imsgbuf *);
 void imsg_clear(struct imsgbuf *);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif