21 lines
352 B
C
Executable File
21 lines
352 B
C
Executable File
|
|
#include <stddef.h>
|
|
|
|
enum WfCheckResult {
|
|
wellFormed,
|
|
noMemory,
|
|
noElements,
|
|
invalidToken,
|
|
unclosedToken,
|
|
partialChar,
|
|
tagMismatch,
|
|
duplicateAttribute,
|
|
junkAfterDocElement
|
|
};
|
|
|
|
enum WfCheckResult wfCheck(const char *s, size_t n,
|
|
const char **errorPtr,
|
|
unsigned long *errorLineNumber,
|
|
unsigned long *errorColNumber);
|
|
|