ir: add bt_ctf_field_type_structure_get_field_name_index()
[babeltrace.git] / include / babeltrace / ctf-ir / event-types-internal.h
index 2f4c98ed159939cc14d1e0f39feeb9e8e9451dab..a5057e207b5cab8583781814389e0156f0a0407d 100644 (file)
@@ -37,8 +37,8 @@
 #include <babeltrace/ctf/events.h>
 #include <glib.h>
 
-typedef void(*type_freeze_func)(struct bt_ctf_field_type *);
-typedef int(*type_serialize_func)(struct bt_ctf_field_type *,
+typedef void (*type_freeze_func)(struct bt_ctf_field_type *);
+typedef int (*type_serialize_func)(struct bt_ctf_field_type *,
                struct metadata_context *);
 
 struct bt_ctf_field_type {
@@ -165,4 +165,8 @@ BT_HIDDEN
 struct bt_ctf_field_type *bt_ctf_field_type_copy(
                struct bt_ctf_field_type *type);
 
+
+BT_HIDDEN
+int bt_ctf_field_type_structure_get_field_name_index(
+               struct bt_ctf_field_type *structure, const char *name);
 #endif /* BABELTRACE_CTF_IR_EVENT_TYPES_INTERNAL_H */
This page took 0.02492 seconds and 4 git commands to generate.