void vortex_connection_add_channel VortexConnection connection,
VortexChannel channel
 

Adds a VortexChannel into an existing VortexConnection.

The channel to be added must not exists inside connection, otherwise an error will be produced and channel will not be added.

This function only adds the data structure which represents a channel. It doesn't make any work about beep channel starting or something similar.

Mainly, this function is only useful for internal vortex library purposes.

Parameters:
connection the connection where channel will be added.
channel the channel to add.