Add missing stream class accessor
[babeltrace.git] / include / babeltrace / ctf-ir / stream.h
index 73fc5369d324b83ac6bf68d724e18cdf86d067a9..f302583d8fa74ecbf0ffb1908844689ca2ab8cca 100644 (file)
@@ -39,6 +39,16 @@ extern "C" {
 struct bt_ctf_event;
 struct bt_ctf_stream;
 
+/*
+ * bt_ctf_stream_get_stream_class: get a stream's class.
+ *
+ * @param stream Stream instance.
+ *
+ * Returns the stream's class, NULL on error.
+ */
+extern struct bt_ctf_stream_class *bt_ctf_stream_get_class(
+               struct bt_ctf_stream *stream);
+
 /*
  * bt_ctf_stream_get_discarded_events_count: get the number of discarded
  * events associated with this stream.
This page took 0.023204 seconds and 4 git commands to generate.