bin: compile lttng-consumerd as a C++
[lttng-tools.git] / src / common / consumer / consumer.h
index 5fb812c08edb377f213f26b91e53dc74a2364d9a..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 */
@@ -1059,5 +1063,10 @@ int lttng_consumer_clear_channel(struct lttng_consumer_channel *channel);
 enum lttcomm_return_code lttng_consumer_open_channel_packets(
                struct lttng_consumer_channel *channel);
 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.024885 seconds and 4 git commands to generate.