int vortex_profiles_get_automatic_mime ( VortexCtx ctx,
const char *  uri 
)

Allows to get current automatic MIME handling associated to the profile provided.

See vortex_profiles_set_automatic_mime function for values returned.

Parameters
ctxThe context where the operation will be performed.
uriThe profile that is required to return the value associated.
Returns
The value associated to the automatic MIME handling configured on the profile provided. The function return 0 (not configured) if the parameter is NULL or the profile wasn't registered.

References vortex_hash_lookup().