bin: compile lttng-consumerd as a C++
[lttng-tools.git] / src / common / consumer / consumer-timer.h
index 85751442f7751eb0b2467c292290004f1fe87216..084eb017d522e4d94f6fdf4967cb5481eb2627ef 100644 (file)
 
 #include "consumer.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define LTTNG_CONSUMER_SIG_SWITCH      SIGRTMIN + 10
 #define LTTNG_CONSUMER_SIG_TEARDOWN    SIGRTMIN + 11
 #define LTTNG_CONSUMER_SIG_LIVE                SIGRTMIN + 12
@@ -53,4 +57,8 @@ int consumer_flush_ust_index(struct lttng_consumer_stream *stream);
 int consumer_timer_thread_get_channel_monitor_pipe(void);
 int consumer_timer_thread_set_channel_monitor_pipe(int fd);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* CONSUMER_TIMER_H */
This page took 0.023211 seconds and 4 git commands to generate.