ir: add public bt_ctf_packet object
[babeltrace.git] / include / babeltrace / ctf-ir / stream-class-internal.h
index 94dc6206146d763eb728f222b084120a3cbe6658..1bd1ea18c26bfb63c9711c38fa95aefaa5ea8208 100644 (file)
@@ -34,6 +34,7 @@
 #include <babeltrace/object-internal.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/ctf/types.h>
+#include <babeltrace/ctf-ir/trace-internal.h>
 #include <glib.h>
 
 struct bt_ctf_stream_class {
@@ -50,6 +51,12 @@ struct bt_ctf_stream_class {
        struct bt_ctf_field_type *event_context_type;
        int frozen;
        int byte_order;
+
+       /*
+        * This flag indicates if the stream class is valid. A valid
+        * stream class is _always_ frozen.
+        */
+       int valid;
 };
 
 BT_HIDDEN
This page took 0.035029 seconds and 4 git commands to generate.