VortexChannelFrameSize vortex_connection_set_next_frame_size_handler ( VortexConnection connection,
VortexChannelFrameSize  next_frame_size,
axlPointer  user_data 

Allows to configure the VortexChannelFrameSize handler to be used by the sequencer to decide how many data is used into each frame produced (outstanding frames).

Configuring the handler at connection level will make all channels to use this implementation unless the channel have its own VortexChannelFrameSize handler configured (vortex_channel_set_next_frame_size_handler).

connectionThe connection to be configured.
next_frame_sizeThe handler to be configured or NULL if the default implementation is required.
user_dataUser defined pointer to be passed to the VortexChannelFrameSize handler.
Returns previously configured handler or NULL if nothing was set. The function does nothing and return NULL if connection reference received is NULL.