int vortex_connection_channels_count ( VortexConnection connection  ) 

Allows to get the number of channels installed on the provided connection.

Parameters:
connection The connection that is required to return the number of channels installed.
Returns:
Returns channels installed or -1 if it fails. By default all connections have at least one administrative BEEP channel 0.