X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-src%2Fdata-stream-file.hpp;h=011abe85699d2632d73413daf9edb5a81f11bdab;hb=5656cea5531432357cf7ca2a0be14adae5a1e3d3;hp=5723d760e860a7cd1e47d71f20617f54af47817e;hpb=76edbcf1a675fe2d7d058c1b3ae1bd6fbe073e1c;p=babeltrace.git diff --git a/src/plugins/ctf/fs-src/data-stream-file.hpp b/src/plugins/ctf/fs-src/data-stream-file.hpp index 5723d760..011abe85 100644 --- a/src/plugins/ctf/fs-src/data-stream-file.hpp +++ b/src/plugins/ctf/fs-src/data-stream-file.hpp @@ -7,21 +7,12 @@ #ifndef CTF_FS_DS_FILE_H #define CTF_FS_DS_FILE_H -#include -#include #include -#include "common/macros.h" -#include +#include -#include "../common/msg-iter/msg-iter.hpp" -#include "lttng-index.hpp" +#include -struct ctf_fs_component; -struct ctf_fs_file; -struct ctf_fs_trace; -struct ctf_fs_ds_file; -struct ctf_fs_ds_file_group; -struct ctf_fs_ds_group_medops_data; +#include "../common/src/msg-iter/msg-iter.hpp" struct ctf_fs_ds_file_info { @@ -32,8 +23,6 @@ struct ctf_fs_ds_file_info int64_t begin_ns; }; -struct ctf_fs_metadata; - struct ctf_fs_ds_file { bt_logging_level log_level; @@ -71,23 +60,18 @@ struct ctf_fs_ds_file off_t request_offset_in_mapping; }; -BT_HIDDEN struct ctf_fs_ds_file *ctf_fs_ds_file_create(struct ctf_fs_trace *ctf_fs_trace, bt_stream *stream, const char *path, bt_logging_level log_level); -BT_HIDDEN void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *stream); -BT_HIDDEN struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(struct ctf_fs_ds_file *ds_file, struct ctf_fs_ds_file_info *ds_file_info, struct ctf_msg_iter *msg_iter); -BT_HIDDEN struct ctf_fs_ds_index *ctf_fs_ds_index_create(bt_logging_level log_level, bt_self_component *self_comp); -BT_HIDDEN void ctf_fs_ds_index_destroy(struct ctf_fs_ds_index *index); /* @@ -105,18 +89,14 @@ extern struct ctf_msg_iter_medium_ops ctf_fs_ds_file_medops; * The data pointer when using these medops must be a pointer to a ctf_fs_ds * group_medops_data structure. */ -BT_HIDDEN extern struct ctf_msg_iter_medium_ops ctf_fs_ds_group_medops; -BT_HIDDEN enum ctf_msg_iter_medium_status ctf_fs_ds_group_medops_data_create( struct ctf_fs_ds_file_group *ds_file_group, bt_self_message_iterator *self_msg_iter, bt_logging_level log_level, struct ctf_fs_ds_group_medops_data **out); -BT_HIDDEN void ctf_fs_ds_group_medops_data_reset(struct ctf_fs_ds_group_medops_data *data); -BT_HIDDEN void ctf_fs_ds_group_medops_data_destroy(struct ctf_fs_ds_group_medops_data *data); #endif /* CTF_FS_DS_FILE_H */