X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fformat.h;h=cddc41a129e32bda61915df26c2b46367e5a8201;hp=590ab4cb1cca73ef14c14aff98d3e7d45a261b35;hb=bbefb8dd3e1e198313e2eaf83f5451224ef8e27e;hpb=7fb210365ad968646a0088d80f709165bf068950 diff --git a/include/babeltrace/format.h b/include/babeltrace/format.h index 590ab4cb..cddc41a1 100644 --- a/include/babeltrace/format.h +++ b/include/babeltrace/format.h @@ -24,6 +24,8 @@ #include #include +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);