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:
number The number for the close message
code The close code to report.
xml_lang The xml lang value.
close_content The close message content.
Returns:
A newly allocate close message which has to be deallocated when no longer needed.