This function is not needed anymore because connections cannot end.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
extern const bt_port_output *bt_connection_borrow_upstream_port_const(
const bt_connection *connection);
-extern bt_bool bt_connection_is_ended(const bt_connection *connection);
-
extern void bt_connection_get_ref(const bt_connection *connection);
extern void bt_connection_put_ref(const bt_connection *connection);
try_remove_connection_from_graph(conn);
}
-bt_bool bt_connection_is_ended(const struct bt_connection *connection)
-{
- return !connection->downstream_port && !connection->upstream_port;
-}
-
void bt_connection_get_ref(const struct bt_connection *connection)
{
bt_object_get_ref(connection);