libcopytrace: export ctf_copy_event_header
[babeltrace.git] / plugins / libctfcopytrace / ctfcopytrace.h
index 004e330a00ac40dd55baf042a513ba9ce35d40c4..748addf79a8369e85f4c7f283022c274f74ab4c2 100644 (file)
@@ -120,6 +120,16 @@ struct bt_ctf_event *ctf_copy_event(FILE *err, struct bt_ctf_event *event,
                struct bt_ctf_event_class *writer_event_class,
                bool override_ts64);
 
+/*
+ * Copies the content of the event header to writer_event_header.
+ *
+ * Returns 0 on success, -1 on error.
+ */
+int ctf_copy_event_header(FILE *err, struct bt_ctf_event *event,
+               struct bt_ctf_event_class *writer_event_class,
+               struct bt_ctf_event *writer_event,
+               struct bt_ctf_field *event_header);
+
 /*
  * Copy the environment and the packet header from the input trace to the
  * writer_trace.
This page took 0.026451 seconds and 4 git commands to generate.