10 #ifndef KVAMEMOLIBXML_H 11 #define KVAMEMOLIBXML_H 54 #define XML_ERROR_MESSAGE_LENGTH 2048 175 KvaXmlStatus WINAPI
kvaXmlToBuffer (
const char *xmlbuf,
unsigned int xmllen,
char *outbuf,
unsigned int *outlen,
long *version);
246 KvaXmlStatus WINAPI
kvaBufferToXml (
const char *inbuf,
unsigned int inlen,
char *xmlbuf,
unsigned int *xmllen,
long *version,
const char * scriptpath);
531 #endif //KVAMEMOLIBXML_H The trigger expression could not be parsed.
Definition: kvamemolibxml.h:76
t-script related errors, e.g. file not found.
Definition: kvamemolibxml.h:79
Using more than one external trigger requires firmware version 3.7 or better.
Definition: kvamemolibxml.h:117
The value is not unique; usually idx attributes.
Definition: kvamemolibxml.h:74
OK.
Definition: kvamemolibxml.h:95
No active logging detected.
Definition: kvamemolibxml.h:114
The values are not consecutive; usually idx attributes.
Definition: kvamemolibxml.h:75
This XML element was ignored.
Definition: kvamemolibxml.h:116
KvaXmlStatus kvaXmlValidate(const char *xmlbuf, unsigned int xmllen)
The XML settings contain syntax errors.
Definition: kvamemolibxml.h:77
An undefined trigger is used in an expression.
Definition: kvamemolibxml.h:99
Too many or too few elements of this type.
Definition: kvamemolibxml.h:108
char * name
Definition: kvamemolibxml.h:377
OK.
Definition: kvamemolibxml.h:68
Failed to find an attribute in a node.
Definition: kvamemolibxml.h:70
unsigned short kvaXmlGetVersion(void)
int kvaToolsFreeExpr(KvParseHandle *h, Token *t)
struct tag_token * right
Definition: kvamemolibxml.h:379
KvaXmlStatus kvaXmlInitialize(void)
KvaXmlStatus kvaXmlToBuffer(const char *xmlbuf, unsigned int xmllen, char *outbuf, unsigned int *outlen, long *version)
KvaXmlStatus kvaXmlGetValidationError(KvaXmlValidationStatus *status, char *buf, unsigned int len)
Too many warnings, validation aborted.
Definition: kvamemolibxml.h:113
int kvaToolsDumpExpr(KvParseHandle *h, Token *t)
KvaXmlStatus kvaXmlGetValidationWarning(KvaXmlValidationStatus *status, char *buf, unsigned int len)
Could not find a required element.
Definition: kvamemolibxml.h:72
There are more than one external trigger defined.
Definition: kvamemolibxml.h:100
KvaXmlStatus kvaFileToXml(const char *parfile, const char *xmlfile)
void kvaToolsParseDestroy(KvParseHandle *h)
struct tag_token Token
Token used when parsing postfix expressions (deprecated):
int errCode
Definition: kvamemolibxml.h:383
Handle used when parsing postfix expressions (deprecated):
Definition: kvamemolibxml.h:391
KvaXmlStatus kvaXmlToFile(const char *infile, const char *outfile)
KvParseHandle * kvaToolsParseCreate(void)
struct tag_token * next
Definition: kvamemolibxml.h:382
A general trigger expression found during parsing.
Definition: kvamemolibxml.h:111
KvaXmlValidationStatus
Definition: kvamemolibxml.h:94
A trigger on disk full starts the logging.
Definition: kvamemolibxml.h:102
Generic error.
Definition: kvamemolibxml.h:96
Internal errors, e.g. null pointers.
Definition: kvamemolibxml.h:80
Token * next
Definition: kvamemolibxml.h:392
Too many active t-scripts for selected device.
Definition: kvamemolibxml.h:106
There are more than one start up trigger defined.
Definition: kvamemolibxml.h:101
The XML settings do not follow the DTD.
Definition: kvamemolibxml.h:78
A numerical value is out of range.
Definition: kvamemolibxml.h:103
int kvaToolsParseExpr(KvParseHandle *h, char *expr, Token **t)
KvaXmlStatus
Definition: kvamemolibxml.h:67
KvaXmlStatus kvaXmlGetValidationText(KvaXmlValidationStatus status, char *buf, unsigned int len)
KvaXmlStatus kvaXmlDebugOutput(int on)
More than one active script is set as 'primary'.
Definition: kvamemolibxml.h:107
struct tag_token * left
Definition: kvamemolibxml.h:378
int type
Definition: kvamemolibxml.h:376
Transmit lists used in silent mode.
Definition: kvamemolibxml.h:98
A general t-script error found during parsing.
Definition: kvamemolibxml.h:110
int end_pos
Definition: kvamemolibxml.h:381
int start_pos
Definition: kvamemolibxml.h:380
Generic error.
Definition: kvamemolibxml.h:69
A t-script is too large for the configuration.
Definition: kvamemolibxml.h:105
int kvaToolsExprHasErrors(KvParseHandle *h, Token *t)
Token used when parsing postfix expressions (deprecated):
Definition: kvamemolibxml.h:375
A trigger on disk full used with FIFO mode.
Definition: kvamemolibxml.h:115
A general error found during parsing.
Definition: kvamemolibxml.h:109
The value is outside the allowed range.
Definition: kvamemolibxml.h:73
A t-script file could not be opened.
Definition: kvamemolibxml.h:104
KvaXmlStatus kvaXmlGetValidationStatusCount(int *countErr, int *countWarn)
int kvaToolsExprGetError(KvParseHandle *h, Token *t, int *errCode, int *pos)
The attribute value is not correct, e.g. whitespace after a number.
Definition: kvamemolibxml.h:71
KvaXmlStatus kvaBufferToXml(const char *inbuf, unsigned int inlen, char *xmlbuf, unsigned int *xmllen, long *version, const char *scriptpath)
KvaXmlStatus kvaXmlGetLastError(char *buf, unsigned int len, KvaXmlStatus *err)
Too many errors, validation aborted.
Definition: kvamemolibxml.h:97
KvaXmlStatus kvaXmlGetErrorText(KvaXmlStatus status, char *buf, unsigned int len)
void kvaToolsExprGetErrorString(int errCode, char *s, size_t bufsiz)