lib: make trace IR API const-correct
[babeltrace.git] / plugins / ctf / lttng-live / lttng-live-internal.h
index edad6474e6f0d41dfb5e2352e07f026cc4dba19d..a698e6bef699aa3217a7436593e4758dad931e15 100644 (file)
@@ -69,7 +69,7 @@ struct lttng_live_stream_iterator_generic {
 struct lttng_live_stream_iterator {
        struct lttng_live_stream_iterator_generic p;
 
-       struct bt_stream *stream;
+       const struct bt_stream *stream;
        struct lttng_live_trace *trace;
        struct bt_private_port *port;   /* weak ref. */
 
@@ -138,7 +138,7 @@ struct lttng_live_trace {
 
        uint64_t id;    /* ctf trace ID within the session. */
 
-       struct bt_trace *trace;
+       const struct bt_trace *trace;
 
        struct lttng_live_metadata *metadata;
        struct bt_clock_class_priority_map *cc_prio_map;
This page took 0.027662 seconds and 4 git commands to generate.