API fix: packet_seek should take an index rather than offset
[babeltrace.git] / formats / bt-dummy / bt-dummy.c
index 3249317ae347fb0ab6a75ba9086e8859faea9d3d..e251ee7b80c22df13d9f89f6b8e6cc423997aa4d 100644 (file)
@@ -40,7 +40,7 @@ int bt_dummy_write_event(struct stream_pos *ppos,
 
 static
 struct trace_descriptor *bt_dummy_open_trace(const char *path, int flags,
-               void (*packet_seek)(struct stream_pos *pos, size_t offset,
+               void (*packet_seek)(struct stream_pos *pos, size_t index,
                        int whence), FILE *metadata_fp)
 {
        struct ctf_text_stream_pos *pos;
This page took 0.02315 seconds and 4 git commands to generate.