VortexChannelFrameSize vortex_channel_set_next_frame_size_handler ( VortexChannel channel,
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).

Parameters:
channel The channel to be configured.
next_frame_size The handler to be configured or NULL if the default implementation is required.
user_data User defined pointer to be passed to the VortexChannelFrameSize handler.
Returns:
Returns previously configured handler or NULL if nothing was set. The function does nothing and return NULL if channel reference received is NULL.