Specify callback to move packet in open_trace
[babeltrace.git] / formats / bt-dummy / bt-dummy.c
index 221b51ffe8d9e01f5af47d1dddfc7d78d17b6e36..0850abba8433986cbd1c6632ec6c63a006c02dcd 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <babeltrace/ctf-text/types.h>
 #include <babeltrace/format.h>
-#include <babeltrace/babeltrace.h>
+#include <babeltrace/babeltrace-internal.h>
 #include <inttypes.h>
 #include <uuid/uuid.h>
 #include <sys/mman.h>
@@ -39,7 +39,9 @@ int bt_dummy_write_event(struct stream_pos *ppos,
 }
 
 static
-struct trace_descriptor *bt_dummy_open_trace(const char *path, int flags)
+struct trace_descriptor *bt_dummy_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;
 
This page took 0.025009 seconds and 4 git commands to generate.