ir: refactor FT validation and resolving
[babeltrace.git] / include / babeltrace / ctf-ir / event-internal.h
index 857ea01d03cbda886e8a1f313a63a0caf17d0aaa..43a12ba52d64fd22782ec2b1e9ca456d0f567884 100644 (file)
@@ -48,6 +48,14 @@ struct bt_ctf_event_class {
        /* Structure type containing the event's fields */
        struct bt_ctf_field_type *fields;
        int frozen;
+
+       /*
+        * This flag indicates if the event class is valid. A valid
+        * event class is _always_ frozen. However, an event class
+        * may be frozen, but not valid yet. This is okay, as long as
+        * no events are created out of this event class.
+        */
+       int valid;
 };
 
 struct bt_ctf_event {
This page took 0.023898 seconds and 4 git commands to generate.