int vortex_connection_channels_count ( VortexConnection connection)

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

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

Referenced by vortex_connection_remove_channel_common().