axl_bool vortex_profiles_set_received_handler ( VortexCtx ctx,
const char *  uri,
VortexOnFrameReceived  received,
axlPointer  user_data 

Allows to configure the frame received for a particular profile.

NOTE: In the case the profile to be configured was not defined (vortex_profiles_register) the function will make no effect.

ctxThe vortex context where the profile will be configured with a frame received handler.
uriThe profile to be configured.
receivedThe handler to be called for each frame received.
user_dataUser defined pointer to be passed to the received handler.
axl_true if the handler was configured, otherwise axl_false is returned.

References vortex_hash_lookup(), vortex_mutex_lock(), and vortex_mutex_unlock().