X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Ftypes.h;h=54fd84622f138f583b3eca5d14d73a28b8423778;hp=cebaca7ac8f19c516876163c1108540dd958a898;hb=c34ccddd3910efe68ed20faf40b7da76282bb727;hpb=063f70486d49320f996630ae2522bc9a2341f882 diff --git a/include/babeltrace/ctf/types.h b/include/babeltrace/ctf/types.h index cebaca7a..54fd8462 100644 --- a/include/babeltrace/ctf/types.h +++ b/include/babeltrace/ctf/types.h @@ -31,6 +31,8 @@ #include #include +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