allow multiple ctf streams to be open
[babeltrace.git] / plugins / ctf / fs / fs.h
index f3d442e466bbf7e33d6be8c8822c394b3b6ebaec..151e28eda5d5c2d8f8f801e9ff5523e8a1509e91 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_PLUGIN_CTF_FS_INTERNAL_H
-#define BABELTRACE_PLUGIN_CTF_FS_INTERNAL_H
+#ifndef BABELTRACE_PLUGIN_CTF_FS_H
+#define BABELTRACE_PLUGIN_CTF_FS_H
 
 /*
  * BabelTrace - CTF on File System Component
@@ -66,10 +66,6 @@ struct ctf_fs_stream {
        bool end_reached;
 };
 
-struct ctf_fs_data_stream {
-       GPtrArray *streams;
-};
-
 struct ctf_fs_iterator {
        struct bt_notification_heap *pending_notifications;
 };
@@ -84,12 +80,12 @@ struct ctf_fs_component {
        size_t page_size;
        struct bt_notification *current_notification;
        struct ctf_fs_metadata metadata;
-       struct ctf_fs_data_stream data_stream;
        struct ctf_fs_component_options options;
+       GPtrArray *streams; /* struct ctf_fs_data_stream * */
 };
 
 BT_HIDDEN
 enum bt_component_status ctf_fs_init(struct bt_component *source,
                struct bt_value *params);
 
-#endif /* BABELTRACE_PLUGIN_CTF_FS_INTERNAL_H */
+#endif /* BABELTRACE_PLUGIN_CTF_FS_H */
This page took 0.025271 seconds and 4 git commands to generate.