Specify callback to move packet in open_trace
[babeltrace.git] / include / babeltrace / format.h
index c50b28dc330b8c81c23aefb4133829974b2f7cce..1b45b4ba8dfe6c9c73c2cd1e260b5e80ded03916 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <babeltrace/types.h>
+#include <babeltrace/ctf/types.h>
 #include <stdint.h>
 #include <stdio.h>
 #include <glib.h>
@@ -33,7 +34,9 @@ struct trace_descriptor {
 struct format {
        GQuark name;
 
-       struct trace_descriptor *(*open_trace)(const char *path, int flags);
+       struct trace_descriptor *(*open_trace)(const char *path, int flags,
+                       void (*move_pos_slow)(struct ctf_stream_pos *pos, size_t offset,
+                               int whence));
        void (*close_trace)(struct trace_descriptor *descriptor);
 };
 
This page took 0.024731 seconds and 4 git commands to generate.