bin: compile lttng-consumerd as a C++
[lttng-tools.git] / src / common / consumer / consumer.h
index 0c83baa8cec451fce5671c1bc51e0c2cd3970e5e..6f2aae31b3f582c91ebe4e0d30bb8a0d2014c4f6 100644 (file)
 #include <common/buffer-view.h>
 #include <common/dynamic-array.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct lttng_consumer_local_data;
 
 /* Commands for consumer */
@@ -1061,4 +1065,8 @@ enum lttcomm_return_code lttng_consumer_open_channel_packets(
 int consumer_metadata_wakeup_pipe(const struct lttng_consumer_channel *channel);
 void lttng_consumer_sigbus_handle(void *addr);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LIB_CONSUMER_H */
This page took 0.023415 seconds and 4 git commands to generate.