axl_bool vortex_channel_is_running_profile ( VortexChannel channel,
const char *  profile 

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

1 // check if my channel is running XML-RPC profile
2 if (vortex_channel_is_running_profile (myChannel, VORTEX_XML_RPC_PROFILE)) {
3  // sure, it is running the XML-RPC profile
4 }
channelThe channel to check for running some particular profile.
profileThe profile to be checked.
axl_true if the channel is running the given profile, otherwise axl_false is returned.

References vortex_channel_get_profile().

Referenced by vortex_xml_rpc_channel_status(), and vortex_xml_rpc_invoke().