Fix: use of unsigned variable to check for negative return
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.h
index 339c52747428ef1ed6eeb54dfb4a40d244d39fce..f933e90dc9ce689b8ba0560cac8b2fd0b7ccfab7 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <errno.h>
 
-#include <common/consumer.h>
+#include <common/consumer/consumer.h>
 
 #ifdef HAVE_LIBLTTNG_UST_CTL
 
@@ -67,6 +67,8 @@ void lttng_ustconsumer_flush_buffer(struct lttng_consumer_stream *stream,
                int producer);
 int lttng_ustconsumer_get_current_timestamp(
                struct lttng_consumer_stream *stream, uint64_t *ts);
+int lttng_ustconsumer_get_sequence_number(
+               struct lttng_consumer_stream *stream, uint64_t *seq);
 
 #else /* HAVE_LIBLTTNG_UST_CTL */
 
@@ -212,6 +214,12 @@ int lttng_ustconsumer_get_current_timestamp(
        return -ENOSYS;
 }
 static inline
+int lttng_ustconsumer_get_sequence_number(
+               struct lttng_consumer_stream *stream, uint64_t *seq)
+{
+       return -ENOSYS;
+}
+static inline
 int lttng_ustconsumer_get_stream_id(struct lttng_consumer_stream *stream,
                uint64_t *stream_id)
 {
This page took 0.029922 seconds and 4 git commands to generate.