Add callback API
[babeltrace.git] / include / babeltrace / ctf / types.h
index cebaca7ac8f19c516876163c1108540dd958a898..54fd84622f138f583b3eca5d14d73a28b8423778 100644 (file)
@@ -31,6 +31,8 @@
 #include <glib.h>
 #include <stdio.h>
 
+struct bt_stream_callbacks;
+
 struct packet_index {
        off_t offset;           /* offset of the packet in the file, in bytes */
        off_t data_offset;      /* offset of data within the packet, in bits */
@@ -60,6 +62,7 @@ struct ctf_stream_pos {
        size_t cur_index;       /* current index in packet index */
 
        int dummy;              /* dummy position, for length calculation */
+       struct bt_stream_callbacks *cb; /* Callbacks registered for iterator. */
 };
 
 static inline
This page took 0.022713 seconds and 4 git commands to generate.