Add support for custom event headers
[babeltrace.git] / include / babeltrace / ctf-ir / event-fields-internal.h
index 89b9496b3b9eb2043b36926028ef38265eaa08fa..88f372dd47e3225adf003f73e43f640681e3cea6 100644 (file)
@@ -90,7 +90,7 @@ BT_HIDDEN
 int bt_ctf_field_structure_set_field(struct bt_ctf_field *structure,
                const char *name, struct bt_ctf_field *value);
 
-/* Validate that the field's payload is set. */
+/* Validate that the field's payload is set (returns 0 if set). */
 BT_HIDDEN
 int bt_ctf_field_validate(struct bt_ctf_field *field);
 
@@ -102,4 +102,7 @@ BT_HIDDEN
 int bt_ctf_field_serialize(struct bt_ctf_field *field,
                struct ctf_stream_pos *pos);
 
+BT_HIDDEN
+struct bt_ctf_field *bt_ctf_field_copy(struct bt_ctf_field *field);
+
 #endif /* BABELTRACE_CTF_WRITER_EVENT_FIELDS_INTERNAL_H */
This page took 0.02294 seconds and 4 git commands to generate.