VortexFrame * vortex_frame_create ( VortexCtx ctx,
VortexFrameType  type,
int  channel,
int  msgno,
axl_bool  more,
unsigned int  seqno,
int  size,
int  ansno,
const void *  payload 

Creates a new frame object (VortexFrame) using the given data.

Also check vortex_frame_create_full for a full support on creating new frames, also specifying content type and content transfer encoding values.

ctxThe context where the operation will be performed.
typeThe frame type to build.
channelThe channel number the frame have.
msgnoThe message number the frame have.
moreMore flag configuration for the frame.
seqnoThe sequence number for the frame to build.
sizeThe frame payload size.
ansnoThe answer number the frame have.
payloadThe payload the frame hold.
A newly created VortexFrame object that must be unrefered using vortex_frame_free when no longer needed.

References vortex_frame_create_full().

Referenced by vortex_frame_copy().