lib: add option field class and field types
[babeltrace.git] / include / babeltrace2 / trace-ir / field-class-const.h
index 688c61d1f7a0e3328d0917aeba45843da77a4ace..2dfade9fa899c6b8c389ea1d652e8cd8a5620c83 100644 (file)
@@ -47,6 +47,7 @@ typedef enum bt_field_class_type {
        BT_FIELD_CLASS_TYPE_STRUCTURE,
        BT_FIELD_CLASS_TYPE_STATIC_ARRAY,
        BT_FIELD_CLASS_TYPE_DYNAMIC_ARRAY,
+       BT_FIELD_CLASS_TYPE_OPTION,
        BT_FIELD_CLASS_TYPE_VARIANT_WITHOUT_SELECTOR,
        BT_FIELD_CLASS_TYPE_VARIANT_WITH_UNSIGNED_SELECTOR,
        BT_FIELD_CLASS_TYPE_VARIANT_WITH_SIGNED_SELECTOR,
@@ -164,6 +165,14 @@ extern const bt_field_path *
 bt_field_class_array_dynamic_borrow_length_field_path_const(
                const bt_field_class *field_class);
 
+extern const bt_field_class *
+bt_field_class_option_borrow_field_class_const(
+               const bt_field_class *field_class);
+
+extern const bt_field_path *
+bt_field_class_option_borrow_selector_field_path_const(
+               const bt_field_class *field_class);
+
 extern uint64_t bt_field_class_variant_get_option_count(
                const bt_field_class *field_class);
 
This page took 0.022625 seconds and 4 git commands to generate.