bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / sessiond-comm / sessiond-comm.h
index c8e1e1ae17cbb50b7d3da01e68e43cade5ae9158..65020bbfcd098a9b22f4d1e15abfa6b41e8ed9cd 100644 (file)
 #include "inet6.h"
 #include <common/unix.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Queue size of listen(2) */
 #define LTTNG_SESSIOND_COMM_MAX_LISTEN 64
 
@@ -931,4 +935,8 @@ void lttcomm_init(void);
 /* Get network timeout, in milliseconds */
 unsigned long lttcomm_get_network_timeout(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LTTNG_SESSIOND_COMM_H */
This page took 0.024421 seconds and 4 git commands to generate.