src.ctf.fs: add and use medops to iterate on a ds_file_group using the index
[babeltrace.git] / src / plugins / ctf / fs-src / fs.h
index a6594b1c234ab603e9998349cf0ec794ccac55e6..446e84e559a4d73d566d40a5975908c3f8b52ebb 100644 (file)
@@ -129,6 +129,11 @@ struct ctf_fs_ds_index_entry {
         * (in ns since EPOCH).
         */
        int64_t timestamp_begin_ns, timestamp_end_ns;
+
+       /*
+        * Packet sequence number, or UINT64_MAX if not present in the index.
+        */
+       uint64_t packet_seq_num;
 };
 
 struct ctf_fs_ds_index {
@@ -186,12 +191,6 @@ struct ctf_fs_msg_iter_data {
        /* Weak, belongs to ctf_fs_trace */
        struct ctf_fs_ds_file_group *ds_file_group;
 
-       /* Owned by this */
-       struct ctf_fs_ds_file *ds_file;
-
-       /* Which file the iterator is _currently_ operating on */
-       size_t ds_file_info_index;
-
        /* Owned by this */
        struct ctf_msg_iter *msg_iter;
 
@@ -202,6 +201,8 @@ struct ctf_fs_msg_iter_data {
         */
        bt_component_class_message_iterator_next_method_status next_saved_status;
        const struct bt_error *next_saved_error;
+
+       struct ctf_fs_ds_group_medops_data *msg_iter_medops_data;
 };
 
 BT_HIDDEN
This page took 0.023187 seconds and 4 git commands to generate.