lib: add aliases for Babeltrace structure types
[babeltrace.git] / plugins / ctf / fs-src / data-stream-file.h
index be035606e293870757bda19f6dc586b4364a9f89..d8e6ff99f8336c0bf3777cb15754af229d0a0201 100644 (file)
@@ -81,21 +81,23 @@ 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;
 
-       /* Owned by this */
-       struct ctf_fs_file *file;
+       /* Weak */
+       bt_self_notification_iterator *pc_notif_iter;
 
        /* Owned by this */
-       struct bt_stream *stream;
+       struct ctf_fs_file *file;
 
        /* Owned by this */
-       struct bt_clock_class_priority_map *cc_prio_map;
+       bt_stream *stream;
 
        /* Weak */
        struct bt_notif_iter *notif_iter;
@@ -126,15 +128,15 @@ 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,
+               bt_self_notification_iterator *pc_notif_iter,
                struct bt_notif_iter *notif_iter,
-               struct bt_stream *stream, const char *path);
+               bt_stream *stream, const char *path);
 
 BT_HIDDEN
 int ctf_fs_ds_file_borrow_packet_header_context_fields(
                struct ctf_fs_ds_file *ds_file,
-               struct bt_field **packet_header_field,
-               struct bt_field **packet_context_field);
+               bt_field **packet_header_field,
+               bt_field **packet_context_field);
 
 BT_HIDDEN
 void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *stream);
@@ -142,7 +144,7 @@ void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *stream);
 BT_HIDDEN
 enum bt_notification_iterator_status ctf_fs_ds_file_next(
                struct ctf_fs_ds_file *ds_file,
-               struct bt_notification **notif);
+               bt_notification **notif);
 
 BT_HIDDEN
 struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(
This page took 0.024614 seconds and 4 git commands to generate.