X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fformat.h;h=1b45b4ba8dfe6c9c73c2cd1e260b5e80ded03916;hp=c50b28dc330b8c81c23aefb4133829974b2f7cce;hb=b086c01a10fc706dacf1a5a8ea2c4a8acfa0ee24;hpb=01c76b246be85b5d9c8e99813950fb194c9f714f diff --git a/include/babeltrace/format.h b/include/babeltrace/format.h index c50b28dc..1b45b4ba 100644 --- a/include/babeltrace/format.h +++ b/include/babeltrace/format.h @@ -22,6 +22,7 @@ */ #include +#include #include #include #include @@ -33,7 +34,9 @@ struct trace_descriptor { struct format { GQuark name; - struct trace_descriptor *(*open_trace)(const char *path, int flags); + struct trace_descriptor *(*open_trace)(const char *path, int flags, + void (*move_pos_slow)(struct ctf_stream_pos *pos, size_t offset, + int whence)); void (*close_trace)(struct trace_descriptor *descriptor); };