axl_bool myqtt_support_check_search_path ( MyQttCtx ctx,
const char *  domain,
const char *  path 
)

Allows to check if the provided path is alredy foudn in the provided domain.

Parameters
ctxThe context where the operation will take place.
domainThe domain where the path will be checked to be already added or not. This value cannot be NULL. Use "default" for default path.
pathThe path to be check to be already added or not. This value cannot be NULL.
Returns
axl_true in the case the search path is already added under the domain provided, otherwise axl_false is returned. Keep in mind the function will also return axl_false in the case path or domain reference provided is NULL.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().

Referenced by myqtt_support_add_domain_search_path(), myqtt_support_add_domain_search_path_ref(), and myqtt_support_add_search_path_ref().