ir: add tag field path to variant field type
[babeltrace.git] / include / babeltrace / ctf-ir / event-types-internal.h
index ca0cf0280c0393525923770077bc22b5744aebee..6078c345ec9bc0d4a62a45f7ee782f612c5c99ee 100644 (file)
@@ -123,6 +123,7 @@ struct bt_ctf_field_type_variant {
        struct bt_ctf_field_type parent;
        GString *tag_name;
        struct bt_ctf_field_type_enumeration *tag;
+       struct bt_ctf_field_path *tag_path;
        GHashTable *field_name_to_index;
        GPtrArray *fields; /* Array of pointers to struct structure_field */
        struct declaration_variant declaration;
@@ -208,4 +209,8 @@ BT_HIDDEN
 int bt_ctf_field_type_sequence_set_length_field_path(
                struct bt_ctf_field_type *type,
                struct bt_ctf_field_path *path);
+
+BT_HIDDEN
+int bt_ctf_field_type_variant_set_tag_field_path(struct bt_ctf_field_type *type,
+               struct bt_ctf_field_path *path);
 #endif /* BABELTRACE_CTF_IR_EVENT_TYPES_INTERNAL_H */
This page took 0.031501 seconds and 4 git commands to generate.