Live: let read API detect inactive streams, allow streams without fd
[babeltrace.git] / include / babeltrace / ctf / types.h
index 06c130f80d8773a691b427479aa830020690b3ce..338dad167ec976248c23a65c16b93973b9f44518 100644 (file)
@@ -76,6 +76,7 @@ struct ctf_stream_pos {
        struct mmap_align *base_mma;/* mmap base address */
        int64_t offset;         /* offset from base, in bits. EOF for end of file. */
        int64_t last_offset;    /* offset before the last read_event */
+       int64_t data_offset;    /* offset of data in current packet */
        uint64_t cur_index;     /* current index in packet index */
        uint64_t last_events_discarded; /* last known amount of event discarded */
        void (*packet_seek)(struct bt_stream_pos *pos, size_t index,
This page took 0.023293 seconds and 4 git commands to generate.