common: compile libconsumer, libust-consumer, libkernel-consumer as C++
[lttng-tools.git] / src / common / consumer / consumer-metadata-cache.h
index b207cc79c233df23fb926aec7382b83094700a0d..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,
        /*
@@ -43,7 +47,7 @@ struct consumer_metadata_cache {
        struct lttng_dynamic_buffer contents;
        /*
         * Lock to update the metadata cache and push into the ring_buffer
-        * (ustctl_write_metadata_to_channel).
+        * (lttng_ust_ctl_write_metadata_to_channel).
         *
         * This is nested INSIDE the consumer_data lock.
         */
@@ -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.023484 seconds and 4 git commands to generate.