* @returns Stream instance (weak reference) or
* \c NULL on error
*/
- struct bt_stream * (* get_stream)(
+ struct bt_stream * (* borrow_stream)(
struct bt_stream_class *stream_class,
uint64_t stream_id, void *data);
};
* call this function again, until another status is returned.
*
* @param notif_iter CTF notification iterator
- * @param cc_prio_map Clock class priority map to use when
- * creating an event notification
* @param notification Returned notification if the function's
* return value is #BT_NOTIF_ITER_STATUS_OK
* @returns One of #bt_notif_iter_status values
BT_HIDDEN
enum bt_notif_iter_status bt_notif_iter_get_next_notification(
struct bt_notif_iter *notit,
- struct bt_clock_class_priority_map *cc_prio_map,
+ struct bt_private_connection_private_notification_iterator *notif_iter,
struct bt_notification **notification);
/**
* Returns the first packet header and context fields. This function
- * never needs to call the `get_stream()` medium operation because
+ * never needs to call the `borrow_stream()` medium operation because
* it does not create packet or event objects.
*
* @param notif_iter CTF notification iterator
* @returns One of #bt_notif_iter_status values
*/
BT_HIDDEN
-enum bt_notif_iter_status bt_notif_iter_get_packet_header_context_fields(
+enum bt_notif_iter_status bt_notif_iter_borrow_packet_header_context_fields(
struct bt_notif_iter *notit,
struct bt_field **packet_header_field,
struct bt_field **packet_context_field);