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 ctf_fs_metadata *metadata;
+
+ /* Weak */
+ struct bt_self_notification_iterator *pc_notif_iter;
+
/* Owned by this */
struct ctf_fs_file *file;
/* Owned by this */
struct bt_stream *stream;
- /* Owned by this */
- struct bt_clock_class_priority_map *cc_prio_map;
-
/* Weak */
struct bt_notif_iter *notif_iter;
BT_HIDDEN
struct ctf_fs_ds_file *ctf_fs_ds_file_create(
struct ctf_fs_trace *ctf_fs_trace,
+ struct bt_self_notification_iterator *pc_notif_iter,
struct bt_notif_iter *notif_iter,
struct bt_stream *stream, const char *path);
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_private_notification **notif);
BT_HIDDEN
struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(