char * vortex_frame_seq_build_up_from_params_buffer ( int  channel_num,
int  ackno,
int  window_size,
char *  buffer,
int  buffer_size,
int *  result_size 
)

Allows to create a new SEQ frame placing the result into the provided buffer.

SEQ frame are especial to BEEP because they allows to control how flow control is handled based on channel window size.

Parameters:
channel_num The channel number where the channel will
ackno The sequence number expected to be received at the time the SEQ frame was generated.
window_size The window size that the SEQ frame will acknowledge.
buffer The buffer that will hold the content.
buffer_size The buffer size.
result_size Reference to an integer variable where the size of the result will be returned.
Returns:
A newly allocated raw SEQ frame. Returned value should be deallocated using axl_free.