* @returns Stream instance (weak reference) or
* \c NULL on error
*/
- struct bt_stream * (* borrow_stream)(
- struct bt_stream_class *stream_class,
+ bt_stream * (* borrow_stream)(
+ bt_stream_class *stream_class,
int64_t stream_id, void *data);
};
BT_HIDDEN
enum bt_notif_iter_status bt_notif_iter_get_next_notification(
struct bt_notif_iter *notit,
- struct bt_private_connection_private_notification_iterator *notif_iter,
- struct bt_notification **notification);
+ bt_self_notification_iterator *notif_iter,
+ bt_notification **notification);
/**
* Returns the first packet header and context fields. This function
BT_HIDDEN
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);
+ bt_field **packet_header_field,
+ bt_field **packet_context_field);
struct bt_notif_iter_packet_properties {
uint64_t exp_packet_total_size;
* Resets the iterator so that the next requested medium bytes are
* assumed to be the first bytes of a new stream. The first notification
* which this iterator emits after calling bt_notif_iter_reset() is a
- * BT_NOTIFICATION_TYPE_STREAM_BEGIN one.
+ * BT_NOTIFICATION_TYPE_STREAM_BEGINNING one.
*/
BT_HIDDEN
void bt_notif_iter_reset(struct bt_notif_iter *notit);