#include <babeltrace/babeltrace-internal.h>
#include <babeltrace/babeltrace.h>
-#include "../common/notif-iter/notif-iter.h"
+#include "../common/msg-iter/msg-iter.h"
#include "lttng-index.h"
struct ctf_fs_component;
struct ctf_fs_metadata *metadata;
/* Weak */
- struct bt_private_connection_private_notification_iterator *pc_notif_iter;
+ bt_self_message_iterator *pc_msg_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;
+ bt_stream *stream;
/* Weak */
- struct bt_notif_iter *notif_iter;
+ struct bt_msg_iter *msg_iter;
void *mmap_addr;
BT_HIDDEN
struct ctf_fs_ds_file *ctf_fs_ds_file_create(
struct ctf_fs_trace *ctf_fs_trace,
- struct bt_private_connection_private_notification_iterator *pc_notif_iter,
- struct bt_notif_iter *notif_iter,
- struct 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_self_message_iterator *pc_msg_iter,
+ struct bt_msg_iter *msg_iter,
+ bt_stream *stream, const char *path);
BT_HIDDEN
void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *stream);
BT_HIDDEN
-enum bt_notification_iterator_status ctf_fs_ds_file_next(
+bt_message_iterator_status ctf_fs_ds_file_next(
struct ctf_fs_ds_file *ds_file,
- struct bt_notification **notif);
+ bt_message **msg);
BT_HIDDEN
struct ctf_fs_ds_index *ctf_fs_ds_file_build_index(
BT_HIDDEN
void ctf_fs_ds_index_destroy(struct ctf_fs_ds_index *index);
-extern struct bt_notif_iter_medium_ops ctf_fs_ds_file_medops;
+extern struct bt_msg_iter_medium_ops ctf_fs_ds_file_medops;
#endif /* CTF_FS_DS_FILE_H */