ir: add optional name property to stream
[babeltrace.git] / include / babeltrace / ctf-ir / stream.h
index 53f02da676dcad49444b5bcae776e3ce2f6751fe..a08e327f5d38de1a28c223796c9aef7366d094e3 100644 (file)
@@ -41,7 +41,10 @@ struct bt_ctf_event;
 struct bt_ctf_stream;
 
 extern struct bt_ctf_stream *bt_ctf_stream_create(
-               struct bt_ctf_stream_class *stream_class);
+               struct bt_ctf_stream_class *stream_class,
+               const char *name);
+
+extern const char *bt_ctf_stream_get_name(struct bt_ctf_stream *stream);
 
 /*
  * bt_ctf_stream_get_stream_class: get a stream's class.
This page took 0.023757 seconds and 4 git commands to generate.