axl_bool vortex_support_check_search_path ( VortexCtx 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 vortex_mutex_lock(), and vortex_mutex_unlock().

Referenced by vortex_support_add_domain_search_path(), vortex_support_add_domain_search_path_ref(), and vortex_support_add_search_path_ref().