-struct ctf_fs_ds_file_info {
- GString *path;
- uint64_t begin_ns;
-};
-
-struct ctf_fs_ds_file {
- /* Owned by this */
- struct ctf_fs_file *file;
-
- /* Owned by this */
- struct bt_ctf_stream *stream;
-
- /* Owned by this */
- struct bt_clock_class_priority_map *cc_prio_map;
-
- /* Owned by this */
- struct bt_ctf_notif_iter *notif_iter;
-
- /* A stream is assumed to be indexed. */
- struct index index;
- void *mmap_addr;
- /* Max length of chunk to mmap() when updating the current mapping. */
- size_t mmap_max_len;
- /* Length of the current mapping. */
- size_t mmap_len;
- /* Length of the current mapping which *exists* in the backing file. */
- size_t mmap_valid_len;
- /* Offset in the file where the current mapping starts. */
- off_t mmap_offset;
- /*
- * Offset, in the current mapping, of the address to return on the next
- * request.
- */
- off_t request_offset;
- bool end_reached;
-};
-
-struct ctf_fs_component_options {
- uint64_t clock_offset;
- uint64_t clock_offset_ns;
-};
-