#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,
/*
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.
*/
int consumer_metadata_cache_flushed(struct lttng_consumer_channel *channel,
uint64_t offset, int timer);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* CONSUMER_METADATA_CACHE_H */