API : Access CTF events fields
[babeltrace.git] / include / babeltrace / iterator-internal.h
index 9cbc79cfc1efffdabd5e0bba66b44c93ffce6365..121d0dccb3d6c4bf3a74918a64e176632225d2ad 100644 (file)
@@ -21,6 +21,8 @@
  * all copies or substantial portions of the Software.
  */
 
+#include <babeltrace/ctf/events.h>
+
 /*
  * struct bt_iter: data structure representing an iterator on a trace
  * collection.
@@ -29,6 +31,7 @@ struct bt_iter {
        struct ptr_heap *stream_heap;
        struct bt_context *ctx;
        struct bt_iter_pos *end_pos;
+       struct bt_ctf_event current_ctf_event;          /* last read event */
        GArray *callbacks;                              /* Array of struct bt_stream_callbacks */
        struct bt_callback_chain main_callbacks;        /* For all events */
        /*
This page took 0.024208 seconds and 4 git commands to generate.