Make API CTF-agnostic
[babeltrace.git] / plugins / ctf / fs-src / data-stream-file.h
index e7d8b04acb5ac8f0ad8ed09735b9ff32577a113d..075b8293ab7ca59a3469ace1c9f2cf96d640b6a6 100644 (file)
@@ -81,12 +81,17 @@ struct ctf_fs_ds_file_info {
        GString *path;
 
        /* Guaranteed to be set, as opposed to the index. */
-       uint64_t begin_ns;
+       int64_t begin_ns;
 };
 
+struct ctf_fs_metadata;
+
 struct ctf_fs_ds_file {
        /* Weak */
-       struct bt_graph *graph;
+       struct ctf_fs_metadata *metadata;
+
+       /* Weak */
+       struct bt_private_connection_private_notification_iterator *pc_notif_iter;
 
        /* Owned by this */
        struct ctf_fs_file *file;
@@ -126,7 +131,7 @@ struct ctf_fs_ds_file {
 BT_HIDDEN
 struct ctf_fs_ds_file *ctf_fs_ds_file_create(
                struct ctf_fs_trace *ctf_fs_trace,
-               struct bt_graph *graph,
+               struct bt_private_connection_private_notification_iterator *pc_notif_iter,
                struct bt_notif_iter *notif_iter,
                struct bt_stream *stream, const char *path);
 
@@ -140,8 +145,9 @@ BT_HIDDEN
 void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *stream);
 
 BT_HIDDEN
-struct bt_notification_iterator_next_method_return ctf_fs_ds_file_next(
-               struct ctf_fs_ds_file *stream);
+enum bt_notification_iterator_status ctf_fs_ds_file_next(
+               struct ctf_fs_ds_file *ds_file,
+               struct bt_notification **notif);
 
 BT_HIDDEN
 struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(
This page took 0.025477 seconds and 4 git commands to generate.