XML utility functions.

Functions

int rtXmlWriteToFile (OSCTXT *pctxt, const char *filename)
 This function writes the encoded XML message stored in the context message buffer out to a file.

Function Documentation

int rtXmlWriteToFile ( OSCTXT *  pctxt,
const char *  filename 
)

This function writes the encoded XML message stored in the context message buffer out to a file.

Parameters:
pctxt Pointer to OSCTXT structure.
filename Full path to file to which XML is to be written.
Returns:
0 - if success, negative value if error.