int vortex_connection_get_opened_channels ( VortexConnection connection  ) 

Allows to get current opened channels for the provided connection.

Parameters:
connection The connection that is requested to return the number of channels opened.
Returns:
The number of channels opened or zero if none. The function returns 0 in the case the connection reference is null or not ok (vortex_connection_is_ok (connection, axl_false)).