6#define Expat_INCLUDED 1
11#define XML_SetProcessingInstructionHandler XML_SetProcessingInstrHandler
12#define XML_SetUnparsedEntityDeclHandler XML_SetUnparsedEntDeclHandler
13#define XML_SetStartNamespaceDeclHandler XML_SetStartNamespcDeclHandler
14#define XML_SetExternalEntityRefHandlerArg XML_SetExternalEntRefHandlerArg
29#define XML_TRUE ((XML_Bool) 1)
30#define XML_FALSE ((XML_Bool) 0)
47#define XML_STATUS_ERROR XML_STATUS_ERROR
49#define XML_STATUS_OK XML_STATUS_OK
51#define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
197 void *(*malloc_fcn)(
size_t size);
198 void *(*realloc_fcn)(
void *ptr,
size_t size);
199 void (*free_fcn)(
void *ptr);
303 int has_internal_subset);
332 int is_parameter_entity,
452 int is_parameter_entity);
529 void *encodingHandlerData,
643 void *encodingHandlerData);
674#define XML_GetUserData(parser) (*(void **)(parser))
934#define XML_GetErrorLineNumber XML_GetCurrentLineNumber
935#define XML_GetErrorColumnNumber XML_GetCurrentColumnNumber
936#define XML_GetErrorByteIndex XML_GetCurrentByteIndex
1006#define XML_MAJOR_VERSION 2
1007#define XML_MINOR_VERSION 0
1008#define XML_MICRO_VERSION 1
#define XMLPARSEAPI(type)
XML_SetNotStandaloneHandler(XML_Parser parser, XML_NotStandaloneHandler handler)
void(XMLCALL * XML_CommentHandler)(void *userData, const XML_Char *data)
XML_SetEndCdataSectionHandler(XML_Parser parser, XML_EndCdataSectionHandler end)
XML_GetBase(XML_Parser parser)
XML_SetEndDoctypeDeclHandler(XML_Parser parser, XML_EndDoctypeDeclHandler end)
void(XMLCALL * XML_EndElementHandler)(void *userData, const XML_Char *name)
XML_SetExternalEntityRefHandler(XML_Parser parser, XML_ExternalEntityRefHandler handler)
XML_GetInputContext(XML_Parser parser, int *offset, int *size)
void(XMLCALL * XML_EndNamespaceDeclHandler)(void *userData, const XML_Char *prefix)
XML_MemRealloc(XML_Parser parser, void *ptr, size_t size)
XML_SetCommentHandler(XML_Parser parser, XML_CommentHandler handler)
XML_ParserCreate(const XML_Char *encoding)
XML_SetDoctypeDeclHandler(XML_Parser parser, XML_StartDoctypeDeclHandler start, XML_EndDoctypeDeclHandler end)
XML_SetStartElementHandler(XML_Parser parser, XML_StartElementHandler handler)
XML_ParserCreate_MM(const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *namespaceSeparator)
XML_ParseBuffer(XML_Parser parser, int len, int isFinal)
XML_SetProcessingInstructionHandler(XML_Parser parser, XML_ProcessingInstructionHandler handler)
XML_SetSkippedEntityHandler(XML_Parser parser, XML_SkippedEntityHandler handler)
void(XMLCALL * XML_SkippedEntityHandler)(void *userData, const XML_Char *entityName, int is_parameter_entity)
XML_SetEndElementHandler(XML_Parser parser, XML_EndElementHandler handler)
XML_GetBuffer(XML_Parser parser, int len)
XML_GetErrorCode(XML_Parser parser)
int(XMLCALL * XML_ExternalEntityRefHandler)(XML_Parser parser, const XML_Char *context, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId)
XML_StopParser(XML_Parser parser, XML_Bool resumable)
@ XML_FEATURE_SIZEOF_XML_LCHAR
@ XML_FEATURE_SIZEOF_XML_CHAR
@ XML_FEATURE_UNICODE_WCHAR_T
@ XML_FEATURE_CONTEXT_BYTES
void(XMLCALL * XML_EndCdataSectionHandler)(void *userData)
XML_SetNamespaceDeclHandler(XML_Parser parser, XML_StartNamespaceDeclHandler start, XML_EndNamespaceDeclHandler end)
int(XMLCALL * XML_UnknownEncodingHandler)(void *encodingHandlerData, const XML_Char *name, XML_Encoding *info)
XML_SetStartDoctypeDeclHandler(XML_Parser parser, XML_StartDoctypeDeclHandler start)
XML_ResumeParser(XML_Parser parser)
XML_SetStartNamespaceDeclHandler(XML_Parser parser, XML_StartNamespaceDeclHandler start)
XML_SetExternalEntityRefHandlerArg(XML_Parser parser, void *arg)
void(XMLCALL * XML_EndDoctypeDeclHandler)(void *userData)
XML_SetUserData(XML_Parser parser, void *userData)
XML_SetUnparsedEntityDeclHandler(XML_Parser parser, XML_UnparsedEntityDeclHandler handler)
void(XMLCALL * XML_StartElementHandler)(void *userData, const XML_Char *name, const XML_Char **atts)
XML_SetEncoding(XML_Parser parser, const XML_Char *encoding)
void(XMLCALL * XML_ProcessingInstructionHandler)(void *userData, const XML_Char *target, const XML_Char *data)
XML_SetXmlDeclHandler(XML_Parser parser, XML_XmlDeclHandler xmldecl)
XML_GetSpecifiedAttributeCount(XML_Parser parser)
void(XMLCALL * XML_StartNamespaceDeclHandler)(void *userData, const XML_Char *prefix, const XML_Char *uri)
XML_MemFree(XML_Parser parser, void *ptr)
XML_SetCdataSectionHandler(XML_Parser parser, XML_StartCdataSectionHandler start, XML_EndCdataSectionHandler end)
XML_SetDefaultHandlerExpand(XML_Parser parser, XML_DefaultHandler handler)
void(XMLCALL * XML_XmlDeclHandler)(void *userData, const XML_Char *version, const XML_Char *encoding, int standalone)
XML_DefaultCurrent(XML_Parser parser)
void(XMLCALL * XML_StartCdataSectionHandler)(void *userData)
void(XMLCALL * XML_UnparsedEntityDeclHandler)(void *userData, const XML_Char *entityName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId, const XML_Char *notationName)
XML_ParserFree(XML_Parser parser)
XML_ExpatVersionInfo(void)
XML_SetElementHandler(XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end)
@ XML_ERROR_UNCLOSED_TOKEN
@ XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF
@ XML_ERROR_NOT_STANDALONE
@ XML_ERROR_INCOMPLETE_PE
@ XML_ERROR_RECURSIVE_ENTITY_REF
@ XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING
@ XML_ERROR_ENTITY_DECLARED_IN_PE
@ XML_ERROR_DUPLICATE_ATTRIBUTE
@ XML_ERROR_EXTERNAL_ENTITY_HANDLING
@ XML_ERROR_INCORRECT_ENCODING
@ XML_ERROR_MISPLACED_XML_PI
@ XML_ERROR_PARAM_ENTITY_REF
@ XML_ERROR_FEATURE_REQUIRES_XML_DTD
@ XML_ERROR_RESERVED_PREFIX_XML
@ XML_ERROR_UNEXPECTED_STATE
@ XML_ERROR_JUNK_AFTER_DOC_ELEMENT
@ XML_ERROR_NOT_SUSPENDED
@ XML_ERROR_UNCLOSED_CDATA_SECTION
@ XML_ERROR_RESERVED_NAMESPACE_URI
@ XML_ERROR_UNDEFINED_ENTITY
@ XML_ERROR_UNBOUND_PREFIX
@ XML_ERROR_UNDECLARING_PREFIX
@ XML_ERROR_INVALID_TOKEN
@ XML_ERROR_BINARY_ENTITY_REF
@ XML_ERROR_UNKNOWN_ENCODING
@ XML_ERROR_RESERVED_PREFIX_XMLNS
XML_SetUnknownEncodingHandler(XML_Parser parser, XML_UnknownEncodingHandler handler, void *encodingHandlerData)
XML_Parse(XML_Parser parser, const char *s, int len, int isFinal)
#define XML_STATUS_SUSPENDED
XML_SetReturnNSTriplet(XML_Parser parser, int do_nst)
XML_FreeContentModel(XML_Parser parser, XML_Content *model)
XML_SetEntityDeclHandler(XML_Parser parser, XML_EntityDeclHandler handler)
XML_ErrorString(enum XML_Error code)
@ XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE
@ XML_PARAM_ENTITY_PARSING_ALWAYS
@ XML_PARAM_ENTITY_PARSING_NEVER
void(XMLCALL * XML_AttlistDeclHandler)(void *userData, const XML_Char *elname, const XML_Char *attname, const XML_Char *att_type, const XML_Char *dflt, int isrequired)
int(XMLCALL * XML_NotStandaloneHandler)(void *userData)
XML_SetBase(XML_Parser parser, const XML_Char *base)
XML_SetEndNamespaceDeclHandler(XML_Parser parser, XML_EndNamespaceDeclHandler end)
XML_UseParserAsHandlerArg(XML_Parser parser)
XML_ExternalEntityParserCreate(XML_Parser parser, const XML_Char *context, const XML_Char *encoding)
XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator)
struct XML_ParserStruct * XML_Parser
XML_GetCurrentByteCount(XML_Parser parser)
XML_GetIdAttributeIndex(XML_Parser parser)
XML_UseForeignDTD(XML_Parser parser, XML_Bool useDTD)
void(XMLCALL * XML_StartDoctypeDeclHandler)(void *userData, const XML_Char *doctypeName, const XML_Char *sysid, const XML_Char *pubid, int has_internal_subset)
XML_SetAttlistDeclHandler(XML_Parser parser, XML_AttlistDeclHandler attdecl)
XML_ParserReset(XML_Parser parser, const XML_Char *encoding)
XML_SetElementDeclHandler(XML_Parser parser, XML_ElementDeclHandler eldecl)
XML_SetParamEntityParsing(XML_Parser parser, enum XML_ParamEntityParsing parsing)
XML_SetStartCdataSectionHandler(XML_Parser parser, XML_StartCdataSectionHandler start)
XML_SetNotationDeclHandler(XML_Parser parser, XML_NotationDeclHandler handler)
void(XMLCALL * XML_CharacterDataHandler)(void *userData, const XML_Char *s, int len)
XML_SetDefaultHandler(XML_Parser parser, XML_DefaultHandler handler)
void(XMLCALL * XML_EntityDeclHandler)(void *userData, const XML_Char *entityName, int is_parameter_entity, const XML_Char *value, int value_length, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId, const XML_Char *notationName)
XML_GetParsingStatus(XML_Parser parser, XML_ParsingStatus *status)
void(XMLCALL * XML_NotationDeclHandler)(void *userData, const XML_Char *notationName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId)
void(XMLCALL * XML_DefaultHandler)(void *userData, const XML_Char *s, int len)
XML_MemMalloc(XML_Parser parser, size_t size)
XML_SetCharacterDataHandler(XML_Parser parser, XML_CharacterDataHandler handler)
void(XMLCALL * XML_ElementDeclHandler)(void *userData, const XML_Char *name, XML_Content *model)
int(XMLCALL *convert)(void *data
void(XMLCALL *release)(void *data)
enum XML_FeatureEnum feature
enum XML_Content_Quant quant
enum XML_Content_Type type
XML_Size XMLCALL XML_GetCurrentColumnNumber(XML_Parser parser)
XML_Size XMLCALL XML_GetCurrentLineNumber(XML_Parser parser)
XML_Index XMLCALL XML_GetCurrentByteIndex(XML_Parser parser)
#define namespaceSeparator