Initialization

Functions

KvaXmlStatus kvaXmlInitialize (void)
 
KvaXmlStatus kvaXmlGetLastError (char *buf, unsigned int len, KvaXmlStatus *err)
 

Detailed Description

Function Documentation

◆ kvaXmlGetLastError()

KvaXmlStatus kvaXmlGetLastError ( char *  buf,
unsigned int  len,
KvaXmlStatus err 
)
C#
KvaXmlStatus KvaXmlGetLastError(out string buf, out KvaXmlStatus err)

Get the last error message (if any) from the conversion in human readable format. Use the macro XML_ERROR_MESSAGE_LENGTH to allocate the buffer buf.

Parameters
[out]bufBuffer to receive error text.
[in]lenBuffer size in bytes.
[in]errThe error code to convert.
Returns
KvaXmlStatusOK (zero) if success.
KvaXmlStatusERR_XXX (negative) if failure.

◆ kvaXmlInitialize()

KvaXmlStatus kvaXmlInitialize ( void  )
C#
KvaXmlStatus KvaXmlInitialize(void)

This function must be called before any other functions are used. It will initialize the kvamemolibxml library.

Returns
KvaXmlStatusOK (zero) if success.
KvaXmlStatusERR_XXX (negative) if failure.