lib: add bt_field_class_variant_borrow_option_by_{index,name}()
[babeltrace.git] / include / babeltrace2 / trace-ir / field-path-const.h
index c1b7f76b203a90bec22d78a82c6b532c15f87685..f1a693523fe817e49c9f95ba41c6ccdfa506541e 100644 (file)
@@ -38,16 +38,17 @@ extern "C" {
 typedef enum bt_field_path_item_type {
        BT_FIELD_PATH_ITEM_TYPE_INDEX,
        BT_FIELD_PATH_ITEM_TYPE_CURRENT_ARRAY_ELEMENT,
+       BT_FIELD_PATH_ITEM_TYPE_CURRENT_OPTION_CONTENT,
 } bt_field_path_item_type;
 
-typedef enum bt_scope {
-       BT_SCOPE_PACKET_CONTEXT,
-       BT_SCOPE_EVENT_COMMON_CONTEXT,
-       BT_SCOPE_EVENT_SPECIFIC_CONTEXT,
-       BT_SCOPE_EVENT_PAYLOAD,
-} bt_scope;
+typedef enum bt_field_path_scope {
+       BT_FIELD_PATH_SCOPE_PACKET_CONTEXT,
+       BT_FIELD_PATH_SCOPE_EVENT_COMMON_CONTEXT,
+       BT_FIELD_PATH_SCOPE_EVENT_SPECIFIC_CONTEXT,
+       BT_FIELD_PATH_SCOPE_EVENT_PAYLOAD,
+} bt_field_path_scope;
 
-extern bt_scope bt_field_path_get_root_scope(
+extern bt_field_path_scope bt_field_path_get_root_scope(
                const bt_field_path *field_path);
 
 extern uint64_t bt_field_path_get_item_count(
This page took 0.025341 seconds and 4 git commands to generate.