char * vortex_frame_get_close_message ( int  number,
const char *  code,
const char *  xml_lang,
const char *  close_content 
)

Creates and return the close message.

Once the close message is no longer needed, it must be deallocated.

Parameters
numberThe number for the close message
codeThe close code to report.
xml_langThe xml lang value.
close_contentThe close message content.
Returns
A newly allocate close message which has to be deallocated when no longer needed.