1997-11-11 00:52:10 -05:00
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
enum WfCheckResult {
|
|
|
|
wellFormed,
|
|
|
|
noMemory,
|
1997-11-14 21:44:29 -05:00
|
|
|
syntaxError,
|
1997-11-11 00:52:10 -05:00
|
|
|
noElements,
|
|
|
|
invalidToken,
|
|
|
|
unclosedToken,
|
|
|
|
partialChar,
|
|
|
|
tagMismatch,
|
|
|
|
duplicateAttribute,
|
|
|
|
junkAfterDocElement
|
|
|
|
};
|
|
|
|
|
1997-11-12 05:38:58 -05:00
|
|
|
enum WfCheckResult wfCheck(const char *s, size_t n,
|
|
|
|
const char **errorPtr,
|
|
|
|
unsigned long *errorLineNumber,
|
|
|
|
unsigned long *errorColNumber);
|
1997-11-11 00:52:10 -05:00
|
|
|
|