+struct bt_notification_iterator_output_port {
+ struct bt_notification_iterator base;
+ struct bt_graph *graph; /* Owned by this */
+ struct bt_component *colander; /* Owned by this */
+ struct bt_port *output_port; /* Owned by this */
+};
+
+static inline
+struct bt_notification *bt_notification_iterator_borrow_current_notification(
+ struct bt_notification_iterator *iterator)
+{
+ BT_ASSERT(iterator);
+ return iterator->current_notification;
+}
+
+static inline
+void bt_notification_iterator_replace_current_notification(
+ struct bt_notification_iterator *iterator,
+ struct bt_notification *notification)
+{
+ BT_ASSERT(iterator);
+ bt_put(iterator->current_notification);
+ iterator->current_notification = bt_get(notification);
+}
+