Init ctf fs data and metadata streams
[babeltrace.git] / plugins / ctf / fs / data-stream.h
index d8f674662f4f8628d7e86b925aa8e8f0bdfbb5f4..60a46e16ff1e9a57a6c051cf2e2411cb2b69ee0f 100644 (file)
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/ctf-ir/trace.h>
 
-#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 */
This page took 0.023744 seconds and 4 git commands to generate.