Specify callback to move packet in open_trace
[babeltrace.git] / formats / ctf-text / ctf-text.c
index f1ddbaf5e77b18f2f3855d9f7f2d23a708efe949..fa46a9262a184293aa396c37f3b094aef565e95d 100644 (file)
@@ -34,7 +34,9 @@
 #include <unistd.h>
 #include <stdlib.h>
 
-struct trace_descriptor *ctf_text_open_trace(const char *path, int flags);
+struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
+               void (*move_pos_slow)(struct ctf_stream_pos *pos, size_t offset,
+                       int whence));
 void ctf_text_close_trace(struct trace_descriptor *descriptor);
 
 static
@@ -225,7 +227,9 @@ error:
 }
 
 
-struct trace_descriptor *ctf_text_open_trace(const char *path, int flags)
+struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
+               void (*move_pos_slow)(struct ctf_stream_pos *pos, size_t offset,
+                       int whence))
 {
        struct ctf_text_stream_pos *pos;
        FILE *fp;
This page took 0.023155 seconds and 4 git commands to generate.