VortexChannel * vortex_channel_new_fullv ( VortexConnection connection,
int  channel_num,
const char *  serverName,
const char *  profile,
VortexEncoding  encoding,
VortexOnCloseChannel  close,
axlPointer  close_user_data,
VortexOnFrameReceived  received,
axlPointer  received_user_data,
VortexOnChannelCreated  on_channel_created,
axlPointer  user_data,
const char *  profile_content_format,
  ... 
)

Allows to create a new channel using all possible option and making possible to define profile content using a printf-like syntax.

This function behaves the same way than vortex_channel_new_full but allowing to define the profile content using the printf-like format. This could be handy while sending profile content that is more elaborated than just a simple string.

For more information see vortex_channel_new_full and vortex_channel_new.

Parameters
connectionThe connection where the channel will be created.
channel_numThe channel num requested to create.
serverNameThe serverName value for this channel request.
profileThe profile requested.
encodingThe content profile encoding.
closeThe close channel handler.
close_user_dataUser space data to be passed in to the close channel handler.
receivedThe frame received handler.
received_user_dataUser space data to be passed in to the frame received handler.
on_channel_createdAn async callback where the channel creation is notified. Defining this callback makes the function to not block the caller.
user_dataUser space data to be passed in to on_channel_created
profile_content_formatThe profile content using a printf-like format: "<blob>%s</blob>". The content passed must not include the CDATA declaration. This is already added by the function. "your-content".
Returns
A new channel created or NULL if the channel wasn't possible to be created.

References vortex_channel_new_full().