ir: add length_field_path to sequence field type
[babeltrace.git] / include / babeltrace / ctf-ir / event-types-internal.h
index b420a5799fa0920d0d472db21b934774b6ba4d0f..ca0cf0280c0393525923770077bc22b5744aebee 100644 (file)
@@ -139,6 +139,7 @@ struct bt_ctf_field_type_sequence {
        struct bt_ctf_field_type parent;
        struct bt_ctf_field_type *element_type;
        GString *length_field_name;
+       struct bt_ctf_field_path *length_field_path;
        struct declaration_sequence declaration;
 };
 
@@ -202,4 +203,9 @@ int bt_ctf_field_type_structure_get_field_name_index(
 BT_HIDDEN
 int bt_ctf_field_type_variant_get_field_name_index(
                struct bt_ctf_field_type *variant, const char *name);
+
+BT_HIDDEN
+int bt_ctf_field_type_sequence_set_length_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.024491 seconds and 4 git commands to generate.