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);