struct bt_port *downstream_port;
/* Upstream port. */
struct bt_port *upstream_port;
+
+ /*
+ * Weak references to all the notification iterators that were
+ * created on this connection.
+ */
+ GPtrArray *iterators;
};
static inline
struct bt_port *downstream_port);
BT_HIDDEN
-void bt_connection_disconnect_ports(struct bt_connection *conn,
- struct bt_component *comp);
+void bt_connection_disconnect_ports(struct bt_connection *conn);
+
+BT_HIDDEN
+void bt_connection_remove_iterator(struct bt_connection *conn,
+ struct bt_notification_iterator *iterator);
#endif /* BABELTRACE_COMPONENT_CONNECTION_INTERNAL_H */