CTF trace open/close
[babeltrace.git] / include / babeltrace / format.h
index 590ab4cb1cca73ef14c14aff98d3e7d45a261b35..cddc41a129e32bda61915df26c2b46367e5a8201 100644 (file)
@@ -24,6 +24,8 @@
 #include <stdio.h>
 #include <glib.h>
 
+struct trace_descriptor;
+
 struct format {
        GQuark name;
 
@@ -80,6 +82,8 @@ struct format {
                const struct declaration_sequence *sequence_declaration);
        void (*sequence_end)(struct stream_pos *pos,
                const struct declaration_sequence *sequence_declaration);
+       struct trace_descriptor *(*open_trace)(const char *path, int flags);
+       void (*close_trace)(struct trace_descriptor *descriptor);
 };
 
 struct format *bt_lookup_format(GQuark qname);
This page took 0.022707 seconds and 4 git commands to generate.