VortexChannel * vortex_connection_get_channel_by_uri ( VortexConnection connection,
const char *  profile 
)

Allows to get the first channel ocurrence running the profile provided.

Parameters
connectionThe connection where lookup for channels.
profileThe profile to use to find the first channel running it.
Returns
A reference to the channel or NULL if it fails.

References vortex_hash_foreach2().

Referenced by vortex_sasl_is_authenticated().