lib: add bt_field_class_variant_borrow_option_by_{index,name}()
[babeltrace.git] / include / babeltrace2 / trace-ir / field-class.h
index f4f722c38055d72f8e84792e1693afaf6415ecc2..083facbe7b3d6fa79313bb2e6b4d428a6ce224a4 100644 (file)
@@ -155,6 +155,14 @@ bt_field_class_variant_with_selector_signed_append_option(
                bt_field_class *field_class,
                const bt_integer_range_set_signed *range_set);
 
+extern bt_field_class_variant_option *
+bt_field_class_variant_borrow_option_by_index(
+               bt_field_class *field_class, uint64_t index);
+
+extern bt_field_class_variant_option *
+bt_field_class_variant_borrow_option_by_name(
+               bt_field_class *field_class, const char *name);
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.022908 seconds and 4 git commands to generate.