API fix: packet_seek should take an index rather than offset
[babeltrace.git] / formats / ctf-text / ctf-text.c
index 85644a6b327c6b0700f390378dd10d6a75344d1b..20e18e86fcf1e952c8f090db3dff58eb430a3e76 100644 (file)
@@ -76,7 +76,7 @@ enum bt_loglevel {
 
 
 struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
-               void (*move_pos_slow)(struct stream_pos *pos, size_t offset,
+               void (*packet_seek)(struct stream_pos *pos, size_t index,
                        int whence), FILE *metadata_fp);
 void ctf_text_close_trace(struct trace_descriptor *descriptor);
 
@@ -459,7 +459,7 @@ error:
 
 
 struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
-               void (*move_pos_slow)(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.023089 seconds and 4 git commands to generate.