#include "consumer.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
enum consumer_stream_open_packet_status {
CONSUMER_STREAM_OPEN_PACKET_STATUS_OPENED,
CONSUMER_STREAM_OPEN_PACKET_STATUS_NO_SPACE,
void consumer_stream_metadata_set_version(
struct lttng_consumer_stream *stream, uint64_t new_version);
-/*
- * Set the version of a metadata stream (i.e. following a metadata
- * regeneration).
- *
- * Changing the version of a metadata stream will cause any bucketized metadata
- * to be discarded and will mark the metadata stream for future `reset`.
- */
-void consumer_stream_metadata_set_version(
- struct lttng_consumer_stream *stream, uint64_t new_version);
-
/*
* Attempt to open a packet in a stream.
*
int consumer_stream_flush_buffer(struct lttng_consumer_stream *stream,
bool producer_active);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* LTTNG_CONSUMER_STREAM_H */