VortexChannelFrameSize vortex_connection_set_default_next_frame_size_handler ( VortexCtx ctx,
VortexChannelFrameSize  next_frame_size,
axlPointer  user_data 

Configures default frame segmentation function (VortexChannelFrameSize) used for all connections and all channels that do not have a segmentator defined.

See vortex_connection_set_next_frame_size_handler and vortex_channel_set_next_frame_size_handler.

ctxThe context where the operation will be performed.
next_frame_sizeThe handler to be configured globally.
user_dataUser defined pointer to be provided to the global function to be configured.
Returns previously configured handler or NULL if nothing was set. The function does nothing and return NULL if context reference received is NULL.