X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Ftrace-ir%2Ffield-class.h;h=77eece7bbe8fa2a12ece112178fde1c87f36484e;hb=1094efa4f2edbf019427bf0322dab3f3ea9ec5ab;hp=53041a1315608738f1864b3885d3eee90b15a8c0;hpb=5cebbe7fc898bb1d887cbdac1f4dd5f0042443fd;p=babeltrace.git diff --git a/src/lib/trace-ir/field-class.h b/src/lib/trace-ir/field-class.h index 53041a13..77eece7b 100644 --- a/src/lib/trace-ir/field-class.h +++ b/src/lib/trace-ir/field-class.h @@ -190,6 +190,11 @@ struct bt_field_class_bool { struct bt_field_class common; }; +struct bt_field_class_bit_array { + struct bt_field_class common; + uint64_t length; +}; + struct bt_field_class_integer { struct bt_field_class common; @@ -290,13 +295,26 @@ struct bt_field_class_array_static { struct bt_field_class_array_dynamic { struct bt_field_class_array common; - /* Weak: never dereferenced, only use to find it elsewhere */ + /* Owned by this */ struct bt_field_class *length_fc; /* Owned by this */ struct bt_field_path *length_field_path; }; +struct bt_field_class_option { + struct bt_field_class common; + + /* Owned by this */ + struct bt_field_class *content_fc; + + /* Owned by this */ + struct bt_field_class *selector_fc; + + /* Owned by this */ + struct bt_field_path *selector_field_path; +}; + /* Variant FC (with selector) option: named field class + range set */ struct bt_field_class_variant_with_selector_option { struct bt_named_field_class common;