#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
int imsg_flush(struct imsgbuf *);
void imsg_clear(struct imsgbuf *);
+#ifdef __cplusplus
+}
+#endif
+
#endif