libexpat/expat/xmlwf/wfcheck.h

39 lines
704 B
C
Raw Normal View History

1997-11-11 00:52:10 -05:00
#include <stddef.h>
enum WfCheckResult {
wellFormed,
noMemory,
syntaxError,
1997-11-11 00:52:10 -05:00
noElements,
invalidToken,
unclosedToken,
partialChar,
tagMismatch,
duplicateAttribute,
1997-12-10 02:44:19 -05:00
junkAfterDocElement,
paramEntityRef,
undefinedEntity,
recursiveEntityRef,
asyncEntity,
badCharRef,
binaryEntityRef,
attributeExternalEntityRef,
misplacedXmlPi,
unknownEncoding,
incorrectEncoding
1997-11-11 00:52:10 -05:00
};
1997-12-10 02:44:19 -05:00
enum EntityType {
documentEntity,
generalTextEntity
};
enum WfCheckResult wfCheck(enum EntityType entityType,
const char *s, size_t n,
1997-11-12 05:38:58 -05:00
const char **errorPtr,
unsigned long *errorLineNumber,
unsigned long *errorColNumber);
1997-12-10 02:44:19 -05:00
const char *wfCheckMessage(enum WfCheckResult);
1997-11-11 00:52:10 -05:00