X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fbt-dummy%2Fbt-dummy.c;h=9fde1c966316a85a465d7ba387a54f364ff0e0c6;hb=37b99bdba8478569634dd5ceecea50d1e9f9ac0a;hp=537e6bbba1206308feecff945cc61111d57f7904;hpb=1cf393f63db4dce618515749d5549564d1313ee4;p=babeltrace.git diff --git a/formats/bt-dummy/bt-dummy.c b/formats/bt-dummy/bt-dummy.c index 537e6bbb..9fde1c96 100644 --- a/formats/bt-dummy/bt-dummy.c +++ b/formats/bt-dummy/bt-dummy.c @@ -45,7 +45,7 @@ int bt_dummy_write_event(struct bt_stream_pos *ppos, struct ctf_stream_definitio } static -struct trace_descriptor *bt_dummy_open_trace(const char *path, int flags, +struct bt_trace_descriptor *bt_dummy_open_trace(const char *path, int flags, void (*packet_seek)(struct bt_stream_pos *pos, size_t index, int whence), FILE *metadata_fp) { @@ -58,7 +58,7 @@ struct trace_descriptor *bt_dummy_open_trace(const char *path, int flags, } static -int bt_dummy_close_trace(struct trace_descriptor *td) +int bt_dummy_close_trace(struct bt_trace_descriptor *td) { struct ctf_text_stream_pos *pos = container_of(td, struct ctf_text_stream_pos, @@ -68,7 +68,7 @@ int bt_dummy_close_trace(struct trace_descriptor *td) } static -struct format bt_dummy_format = { +struct bt_format bt_dummy_format = { .open_trace = bt_dummy_open_trace, .close_trace = bt_dummy_close_trace, };