Vortex Profiles: Related functions to manage profiles inside Vortex Library.


Functions

axlList * vortex_profiles_get_actual_list ()
 Returns current profiles registered, in a newly allocated list.
axlList * vortex_profiles_get_actual_list_ref ()
 Return current profiles registered, in a internally created list.
int vortex_profiles_get_automatic_mime (const char *uri)
 Allows to get current automatic MIME handling associated to the profile provided.
const char * vortex_profiles_get_mime_type (const char *uri)
 Allows to get current configuration for the default mime type used for the given uri profile.
const char * vortex_profiles_get_transfer_encoding (const char *uri)
 Allows to get current configuration for the default content transfer encoding used for the given uri profile.
axl_bool vortex_profiles_is_defined_close (const char *uri)
 Returns if the given profiles have actually defined the close handler.
axl_bool vortex_profiles_is_defined_received (const char *uri)
 Returns if the given profiles have actually defined the received handler.
axl_bool vortex_profiles_is_defined_start (const char *uri)
 Returns if the given profiles have actually defined the start handler.
axl_bool vortex_profiles_is_registered (const char *uri)
 Return if a profile identifier is registered.
void vortex_profiles_register (const char *uri, VortexOnStartChannel start, axlPointer start_user_data, VortexOnCloseChannel close, axlPointer close_user_data, VortexOnFrameReceived received, axlPointer received_user_data)
 Allows to register a new profile inside the Vortex Library.
void vortex_profiles_register_extended_start (const char *uri, VortexOnStartChannelExtended extended_start, axlPointer extended_start_user_data)
 Allows to register an extended version for the start message.
int vortex_profiles_registered ()
 Return the actual number of profiles registered.
void vortex_profiles_set_automatic_mime (const char *uri, int value)
 Allows to configure automatic MIME header addition handling at profile level.
void vortex_profiles_set_mime_type (const char *uri, const char *mime_type, const char *transfer_encoding)
 Allows to configure which is the default mime type to be set for those channels created under the given profile.
void vortex_profiles_unregister (const char *uri)
 Allows to unregister a profile already registered with vortex_profiles_register.