X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer-stream.h;h=021742e431f62f469162779168002d7024408f7c;hb=1970828049d051d5cb485dfab995081b4550fd2a;hp=af0690a25a0920e3e4c9cb4638c38724aa94b351;hpb=97535efaa975ca52bf02c2d5e76351bfd2e3defa;p=lttng-tools.git diff --git a/src/common/consumer/consumer-stream.h b/src/common/consumer/consumer-stream.h index af0690a25..021742e43 100644 --- a/src/common/consumer/consumer-stream.h +++ b/src/common/consumer/consumer-stream.h @@ -10,10 +10,6 @@ #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, @@ -140,16 +136,6 @@ int consumer_stream_enable_metadata_bucketization( 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. * @@ -170,8 +156,4 @@ enum consumer_stream_open_packet_status consumer_stream_open_packet( int consumer_stream_flush_buffer(struct lttng_consumer_stream *stream, bool producer_active); -#ifdef __cplusplus -} -#endif - #endif /* LTTNG_CONSUMER_STREAM_H */