axl_bool vortex_channel_is_running_profile ( VortexChannel channel,
const char *  profile 
)

Allows to check if the given channel is running a particular profile.

 // check if my channel is running XML-RPC profile
 if (vortex_channel_is_running_profile (myChannel, VORTEX_XML_RPC_PROFILE)) {
     // sure, it is running the XML-RPC profile
 }

Parameters:
channel The channel to check for running some particular profile.
profile The profile to be checked.
Returns:
axl_true if the channel is running the given profile, otherwise axl_false is returned.