lib: add bit array field class and field types
[babeltrace.git] / include / babeltrace2 / trace-ir / field-class-const.h
index 2dfade9fa899c6b8c389ea1d652e8cd8a5620c83..27f22c17af52f3e51ef8644b62c488c70c4536c2 100644 (file)
@@ -38,6 +38,7 @@ extern "C" {
 
 typedef enum bt_field_class_type {
        BT_FIELD_CLASS_TYPE_BOOL,
+       BT_FIELD_CLASS_TYPE_BIT_ARRAY,
        BT_FIELD_CLASS_TYPE_UNSIGNED_INTEGER,
        BT_FIELD_CLASS_TYPE_SIGNED_INTEGER,
        BT_FIELD_CLASS_TYPE_UNSIGNED_ENUMERATION,
@@ -63,6 +64,9 @@ typedef enum bt_field_class_integer_preferred_display_base {
 extern bt_field_class_type bt_field_class_get_type(
                const bt_field_class *field_class);
 
+extern uint64_t bt_field_class_bit_array_get_length(
+               const bt_field_class *field_class);
+
 extern uint64_t bt_field_class_integer_get_field_value_range(
                const bt_field_class *field_class);
 
This page took 0.022827 seconds and 4 git commands to generate.