char * vortex_frame_build_up_from_params_s ( VortexFrameType  type,
int  channel,
int  msgno,
axl_bool  more,
unsigned int  seqno,
int  size,
int  ansno,
const char *  content_type,
const char *  transfer_encoding,
const void *  payload,
int *  frame_size 
)

Creates a new frame from using the given data and returning current frame size resulting from the operation.

This function replaces vortex_frame_build_up_from_params and it is considered to be more accurate and secure.

Parameters
typeFrame type.
channelThe channel number for the frame.
msgnoThe message number for the frame.
moreMore flag status for the frame.
seqnoSequence number for the frame
sizeThe frame payload size.
ansnoThe answer number for the frame
content_typeOptional content type to be used for the channel being sent. If no value is provided no content type will be placed. If content type provided is also the default value then no content type will be placed.
transfer_encodingOptional content transfer encoding. If no value is provided no content transfer type will be placed. If content transfer type provided is also the default value then no content type will be placed.
payloadThe payload is going to have the frame.
frame_sizeAn optional pointer to an integer value which holds current frame size.
Returns
A newly created frame that should be freed using axl_free.

References vortex_frame_build_up_from_params_s_buffer().

Referenced by vortex_frame_build_up_from_params(), and vortex_frame_get_raw_frame().