X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fformat.h;h=fa0e3251ad839973685816ede43a0183b6664289;hp=c6faca71d9ada4774e82483e5f527904037a6761;hb=1cf393f63db4dce618515749d5549564d1313ee4;hpb=9426d563f74aed0b0f32818d4ef535cdfacdb167 diff --git a/include/babeltrace/format.h b/include/babeltrace/format.h index c6faca71..fa0e3251 100644 --- a/include/babeltrace/format.h +++ b/include/babeltrace/format.h @@ -41,7 +41,7 @@ extern "C" { typedef int bt_intern_str; /* forward declaration */ -struct stream_pos; +struct bt_stream_pos; struct bt_context; struct bt_trace_handle; @@ -62,12 +62,12 @@ struct format { bt_intern_str name; struct trace_descriptor *(*open_trace)(const char *path, int flags, - void (*packet_seek)(struct stream_pos *pos, + void (*packet_seek)(struct bt_stream_pos *pos, size_t index, int whence), FILE *metadata_fp); struct trace_descriptor *(*open_mmap_trace)( struct mmap_stream_list *mmap_list, - void (*packet_seek)(struct stream_pos *pos, + void (*packet_seek)(struct bt_stream_pos *pos, size_t index, int whence), FILE *metadata_fp); int (*close_trace)(struct trace_descriptor *descriptor);