Add backward ref from bt_stream_pos to bt_trace_descriptor
[babeltrace.git] / include / babeltrace / types.h
index 22c6876d5e34195ae14c67f167975637381d6d19..8d660bea0e747fa21b0e20221a038dc4fbb5fab0 100644 (file)
@@ -115,6 +115,11 @@ struct bt_stream_pos {
        rw_dispatch *rw_table;  /* rw dispatch table */
        int (*event_cb)(struct bt_stream_pos *pos,
                        struct ctf_stream_definition *stream);
+       int (*pre_trace_cb)(struct bt_stream_pos *pos,
+                       struct bt_trace_descriptor *trace);
+       int (*post_trace_cb)(struct bt_stream_pos *pos,
+                       struct bt_trace_descriptor *trace);
+       struct bt_trace_descriptor *trace;
 };
 
 static inline
This page took 0.026019 seconds and 4 git commands to generate.