axl_bool vortex_connection_is_profile_filtered ( VortexConnection connection,
int  channel_num,
const char *  uri,
const char *  profile_content,
VortexEncoding  encoding,
const char *  serverName,
VortexFrame frame,
char **  error_msg 
)

Checks if a profile could be used, according to the current masks installed on the connection.

NOTE: The function return the result of applying the uri to all masks found. It doesn't check if the profile is already used by some channel.

Parameters
connectionThe connection that is being checked for the particular profile.
channel_numOptional parameter used to notify the channel num requested provided at the start channel stage. You can safely provide a -1 value if you are only checking if a particular profile is being filtered on the particular connection.
uriThe profile uri to check.
profile_contentOptional parameter used to notify the profile content provided at the start channel stage. You can safely provide a NULL value if you are only checking if a particular profile is being filtered on the particular connection.
encodingSignals the encoding used for profile_content received.
serverNameOptional parameter used to notify the serverName provided at the start channel stage. You can safely provide a NULL value if you are only checking if a particular profile is being filtered on the particular connection.
frameOptional parameter that defines the frame received containing the start channel request (channel_num > 0).
error_msgOptional reference where the error message to be returned can be configured.
Returns
axl_true if the if the profile is filtered, otherwise axl_false is returned.

References vortex_mutex_lock(), and vortex_mutex_unlock().

Referenced by vortex_connection_get_remote_profiles().