uint64_t packet_seq_num = 0;
};
-struct ctf_fs_ds_index_deleter
-{
- void operator()(struct ctf_fs_ds_index *index) noexcept;
-};
-
struct ctf_fs_ds_index
{
- using UP = std::unique_ptr<ctf_fs_ds_index, ctf_fs_ds_index_deleter>;
+ using UP = std::unique_ptr<ctf_fs_ds_index>;
std::vector<ctf_fs_ds_index_entry::UP> entries;
};
ctf_fs_ds_index::UP ctf_fs_ds_index_create();
-void ctf_fs_ds_index_destroy(struct ctf_fs_ds_index *index);
-
ctf_fs_ds_file_info::UP ctf_fs_ds_file_info_create(const char *path, int64_t begin_ns);
ctf_fs_ds_file_group::UP ctf_fs_ds_file_group_create(struct ctf_fs_trace *ctf_fs_trace,