X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Ffs%2Fdata-stream.h;h=60a46e16ff1e9a57a6c051cf2e2411cb2b69ee0f;hb=413bc2c417a706e7e2cc331077421e89e36daea0;hp=d8f674662f4f8628d7e86b925aa8e8f0bdfbb5f4;hpb=56a1ccedd4a58b6c87d1bbd94e22094ad5ac1a98;p=babeltrace.git diff --git a/plugins/ctf/fs/data-stream.h b/plugins/ctf/fs/data-stream.h index d8f67466..60a46e16 100644 --- a/plugins/ctf/fs/data-stream.h +++ b/plugins/ctf/fs/data-stream.h @@ -28,35 +28,21 @@ #include #include -#include "ctf-notif-iter/ctf-notif-iter.h" - -struct ctf_fs_stream { - struct ctf_fs_file *file; - struct bt_ctf_stream *stream; - struct bt_ctf_notif_iter *notif_iter; - void *mmap_addr; - size_t mmap_len; - off_t mmap_offset; - off_t request_offset; -}; - -struct ctf_fs_data_stream { - GPtrArray *streams; -}; +#include "../common/notif-iter/notif-iter.h" BT_HIDDEN -int ctf_fs_data_stream_init(struct ctf_fs *ctf_fs, +int ctf_fs_data_stream_init(struct ctf_fs_component *ctf_fs, struct ctf_fs_data_stream *data_stream); BT_HIDDEN -void ctf_fs_data_stream_deinit(struct ctf_fs_data_stream *data_stream); +void ctf_fs_data_stream_fini(struct ctf_fs_data_stream *data_stream); BT_HIDDEN -int ctf_fs_data_stream_open_streams(struct ctf_fs *ctf_fs); +int ctf_fs_data_stream_open_streams(struct ctf_fs_component *ctf_fs); BT_HIDDEN int ctf_fs_data_stream_get_next_notification( - struct ctf_fs *ctf_fs, + struct ctf_fs_component *ctf_fs, struct bt_ctf_notif_iter_notif **notification); #endif /* CTF_FS_DATA_STREAM_H */