Fix: do not use ctf-specific struct in format.h
[babeltrace.git] / formats / bt-dummy / bt-dummy.c
index 221b51ffe8d9e01f5af47d1dddfc7d78d17b6e36..8bc6a9bb3469470698e81709d08c43cd5758ad0e 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 stream_pos *pos, size_t offset,
+                       int whence), FILE *metadata_fp)
 {
        struct ctf_text_stream_pos *pos;
 
This page took 0.022847 seconds and 4 git commands to generate.