-struct bt_stream *medop_borrow_stream(
- struct bt_stream_class *stream_class, int64_t stream_id,
+struct bt_private_stream *medop_borrow_stream(
+ struct bt_private_stream_class *stream_class, int64_t stream_id,
- struct bt_stream_class *ds_file_stream_class;
- struct bt_stream *stream = NULL;
+ struct bt_private_stream_class *ds_file_stream_class;
+ struct bt_private_stream *stream = NULL;
+
+ ds_file_stream_class = bt_private_stream_borrow_class(
+ ds_file->stream);
- return bt_clock_class_cycles_to_ns_from_origin(clock_class, cycles, ns);
+ return bt_clock_class_cycles_to_ns_from_origin(
+ bt_private_clock_class_as_clock_class(clock_class), cycles, ns);
BT_HIDDEN
struct ctf_fs_ds_file *ctf_fs_ds_file_create(
struct ctf_fs_trace *ctf_fs_trace,
BT_HIDDEN
struct ctf_fs_ds_file *ctf_fs_ds_file_create(
struct ctf_fs_trace *ctf_fs_trace,
ds_file->metadata = ctf_fs_trace->metadata;
g_string_assign(ds_file->file->path, path);
ret = ctf_fs_file_open(ds_file->file, "rb");
ds_file->metadata = ctf_fs_trace->metadata;
g_string_assign(ds_file->file->path, path);
ret = ctf_fs_file_open(ds_file->file, "rb");
BT_HIDDEN
enum bt_notification_iterator_status ctf_fs_ds_file_next(
struct ctf_fs_ds_file *ds_file,
BT_HIDDEN
enum bt_notification_iterator_status ctf_fs_ds_file_next(
struct ctf_fs_ds_file *ds_file,
BT_HIDDEN
int ctf_fs_ds_file_borrow_packet_header_context_fields(
struct ctf_fs_ds_file *ds_file,
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)
+ struct bt_private_field **packet_header_field,
+ struct bt_private_field **packet_context_field)