common: compile libconsumer, libust-consumer, libkernel-consumer as C++
[lttng-tools.git] / src / common / consumer / consumer-metadata-cache.h
index b8f4efadc4c5ec59913cb75ea1644882fab2331b..4f8bb763fefdd1a893c01f5bd70f1fa9148866df 100644 (file)
 #include <common/consumer/consumer.h>
 #include <common/dynamic-buffer.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 enum consumer_metadata_cache_write_status {
        CONSUMER_METADATA_CACHE_WRITE_STATUS_ERROR = -1,
        /*
@@ -59,4 +63,8 @@ void consumer_metadata_cache_destroy(struct lttng_consumer_channel *channel);
 int consumer_metadata_cache_flushed(struct lttng_consumer_channel *channel,
                uint64_t offset, int timer);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* CONSUMER_METADATA_CACHE_H */
This page took 0.026052 seconds and 4 git commands to generate.