22 lines
376 B
C
Executable File
22 lines
376 B
C
Executable File
|
|
#include <stddef.h>
|
|
|
|
enum WfCheckResult {
|
|
wellFormed,
|
|
wellFormedOutsideDtd,
|
|
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);
|
|
|