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
156 XML_ElementDeclHandler eldecl);
166 typedef
void (
XMLCALL *XML_AttlistDeclHandler) (
176 XML_AttlistDeclHandler attdecl);
186 typedef
void (
XMLCALL *XML_XmlDeclHandler) (
void *userData,
193 XML_XmlDeclHandler xmldecl);
197 void *(*malloc_fcn)(
size_t size);
198 void *(*realloc_fcn)(
void *ptr,
size_t size);
235 const
XML_Char *namespaceSeparator);
252 typedef
void (
XMLCALL *XML_StartElementHandler) (
void *userData,
256 typedef
void (
XMLCALL *XML_EndElementHandler) (
void *userData,
261 typedef
void (
XMLCALL *XML_CharacterDataHandler) (
void *userData,
266 typedef
void (
XMLCALL *XML_ProcessingInstructionHandler) (
272 typedef
void (
XMLCALL *XML_CommentHandler) (
void *userData,
275 typedef
void (
XMLCALL *XML_StartCdataSectionHandler) (
void *userData);
276 typedef
void (
XMLCALL *XML_EndCdataSectionHandler) (
void *userData);
291 typedef
void (
XMLCALL *XML_DefaultHandler) (
void *userData,
298 typedef
void (
XMLCALL *XML_StartDoctypeDeclHandler) (
329 typedef
void (
XMLCALL *XML_EntityDeclHandler) (
342 XML_EntityDeclHandler handler);
353 typedef
void (
XMLCALL *XML_UnparsedEntityDeclHandler) (
365 typedef
void (
XMLCALL *XML_NotationDeclHandler) (
378 typedef
void (
XMLCALL *XML_StartNamespaceDeclHandler) (
383 typedef
void (
XMLCALL *XML_EndNamespaceDeclHandler) (
396 typedef
int (
XMLCALL *XML_NotStandaloneHandler) (
void *userData);
432 typedef
int (
XMLCALL *XML_ExternalEntityRefHandler) (
449 typedef
void (
XMLCALL *XML_SkippedEntityHandler) (
452 int is_parameter_entity);
528 typedef int (
XMLCALL *XML_UnknownEncodingHandler) (
529 void *encodingHandlerData,
535 XML_StartElementHandler start,
536 XML_EndElementHandler end);
540 XML_StartElementHandler handler);
544 XML_EndElementHandler handler);
548 XML_CharacterDataHandler handler);
552 XML_ProcessingInstructionHandler handler);
555 XML_CommentHandler handler);
559 XML_StartCdataSectionHandler start,
560 XML_EndCdataSectionHandler end);
564 XML_StartCdataSectionHandler start);
568 XML_EndCdataSectionHandler end);
576 XML_DefaultHandler handler);
584 XML_DefaultHandler handler);
588 XML_StartDoctypeDeclHandler start,
593 XML_StartDoctypeDeclHandler start);
601 XML_UnparsedEntityDeclHandler handler);
605 XML_NotationDeclHandler handler);
609 XML_StartNamespaceDeclHandler start,
610 XML_EndNamespaceDeclHandler end);
614 XML_StartNamespaceDeclHandler start);
618 XML_EndNamespaceDeclHandler end);
622 XML_NotStandaloneHandler handler);
626 XML_ExternalEntityRefHandler handler);
638 XML_SkippedEntityHandler handler);
642 XML_UnknownEncodingHandler handler,
643 void *encodingHandlerData);
674 #define XML_GetUserData(parser) (*(void **)(parser))
765 XML_GetAttributeInfo(XML_Parser parser);
778 XML_Parse(XML_Parser parser, const
char *
s,
int len,
int isFinal);
916 unsigned long hash_salt);
966 #define XML_GetErrorLineNumber XML_GetCurrentLineNumber
967 #define XML_GetErrorColumnNumber XML_GetCurrentColumnNumber
968 #define XML_GetErrorByteIndex XML_GetCurrentByteIndex
1039 #define XML_MAJOR_VERSION 2
1040 #define XML_MINOR_VERSION 1
1041 #define XML_MICRO_VERSION 0
XML_ParserFree(XML_Parser parser)
const XML_Char XML_Encoding * info
XML_ParserCreate_MM(const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *namespaceSeparator)
XML_ParserCreate(const XML_Char *encoding)
void(XMLCALL * XML_EndDoctypeDeclHandler)(void *userData)
XML_Size XMLCALL XML_GetCurrentLineNumber(XML_Parser parser)
XML_GetCurrentByteCount(XML_Parser parser)
XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator)
XML_DefaultCurrent(XML_Parser parser)
XML_SetUserData(XML_Parser parser, void *userData)
XML_MemRealloc(XML_Parser parser, void *ptr, size_t size)
const XML_Char int const XML_Char int value_length
const XML_Char const XML_Char ** atts
XML_SetStartElementHandler(XML_Parser parser, XML_StartElementHandler handler)
XML_SetStartDoctypeDeclHandler(XML_Parser parser, XML_StartDoctypeDeclHandler start)
XML_Size XMLCALL XML_GetCurrentColumnNumber(XML_Parser parser)
#define XML_STATUS_SUSPENDED
XML_ErrorString(enum XML_Error code)
XML_SetNotStandaloneHandler(XML_Parser parser, XML_NotStandaloneHandler handler)
XML_GetSpecifiedAttributeCount(XML_Parser parser)
XML_ResumeParser(XML_Parser parser)
XML_SetEncoding(XML_Parser parser, const XML_Char *encoding)
XML_Index XMLCALL XML_GetCurrentByteIndex(XML_Parser parser)
XML_SetExternalEntityRefHandlerArg(XML_Parser parser, void *arg)
#define namespaceSeparator
XML_UseForeignDTD(XML_Parser parser, XML_Bool useDTD)
const XML_Char int const XML_Char int const XML_Char const XML_Char const XML_Char const XML_Char * notationName
XML_SetUnknownEncodingHandler(XML_Parser parser, XML_UnknownEncodingHandler handler, void *encodingHandlerData)
const XML_Char int const XML_Char int const XML_Char * base
const XML_Char const XML_Char const XML_Char const XML_Char int isrequired
struct XML_ParserStruct * XML_Parser
XML_GetParsingStatus(XML_Parser parser, XML_ParsingStatus *status)
const XML_Char const XML_Char * sysid
XML_FreeContentModel(XML_Parser parser, XML_Content *model)
const XML_Char const XML_Char * attname
const XML_Char const XML_Char int standalone
const XML_Char const XML_Char * data
XML_SetAttlistDeclHandler(XML_Parser parser, XML_AttlistDeclHandler attdecl)
XML_SetStartCdataSectionHandler(XML_Parser parser, XML_StartCdataSectionHandler start)
XML_SetEntityDeclHandler(XML_Parser parser, XML_EntityDeclHandler handler)
XML_SetCharacterDataHandler(XML_Parser parser, XML_CharacterDataHandler handler)
XML_SetNamespaceDeclHandler(XML_Parser parser, XML_StartNamespaceDeclHandler start, XML_EndNamespaceDeclHandler end)
XML_GetIdAttributeIndex(XML_Parser parser)
const XML_Char int const XML_Char * value
const XML_Char const XML_Char const XML_Char const XML_Char * dflt
XML_SetReturnNSTriplet(XML_Parser parser, int do_nst)
XML_MemMalloc(XML_Parser parser, size_t size)
XML_SetSkippedEntityHandler(XML_Parser parser, XML_SkippedEntityHandler handler)
enum XML_Content_Quant quant
XML_SetParamEntityParsing(XML_Parser parser, enum XML_ParamEntityParsing parsing)
XML_SetNotationDeclHandler(XML_Parser parser, XML_NotationDeclHandler handler)
XML_GetBuffer(XML_Parser parser, int len)
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
XML_ExpatVersionInfo(void)
XML_Parse(XML_Parser parser, const char *s, int len, int isFinal)
XML_SetUnparsedEntityDeclHandler(XML_Parser parser, XML_UnparsedEntityDeclHandler handler)
XML_StopParser(XML_Parser parser, XML_Bool resumable)
const XML_Char const XML_Char const XML_Char int has_internal_subset
XML_ExternalEntityParserCreate(XML_Parser parser, const XML_Char *context, const XML_Char *encoding)
XML_SetProcessingInstructionHandler(XML_Parser parser, XML_ProcessingInstructionHandler handler)
XML_SetEndDoctypeDeclHandler(XML_Parser parser, XML_EndDoctypeDeclHandler end)
XML_GetInputContext(XML_Parser parser, int *offset, int *size)
XML_UseParserAsHandlerArg(XML_Parser parser)
enum XML_Content_Type type
const XML_Char const XML_Char const XML_Char * att_type
XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt)
const XML_Char int const XML_Char int const XML_Char const XML_Char * systemId
const XML_Char int is_parameter_entity
XML_SetExternalEntityRefHandler(XML_Parser parser, XML_ExternalEntityRefHandler handler)
XML_SetCommentHandler(XML_Parser parser, XML_CommentHandler handler)
XML_MemFree(XML_Parser parser, void *ptr)
#define XMLPARSEAPI(type)
const XML_Char const XML_Char const XML_Char * pubid
XML_SetDefaultHandlerExpand(XML_Parser parser, XML_DefaultHandler handler)
XML_SetBase(XML_Parser parser, const XML_Char *base)
XML_ParserReset(XML_Parser parser, const XML_Char *encoding)
XML_SetEndCdataSectionHandler(XML_Parser parser, XML_EndCdataSectionHandler end)
XML_GetErrorCode(XML_Parser parser)
XML_ParseBuffer(XML_Parser parser, int len, int isFinal)
XML_SetEndNamespaceDeclHandler(XML_Parser parser, XML_EndNamespaceDeclHandler end)
XML_SetStartNamespaceDeclHandler(XML_Parser parser, XML_StartNamespaceDeclHandler start)
XML_SetXmlDeclHandler(XML_Parser parser, XML_XmlDeclHandler xmldecl)
const XML_Char const XML_Char * uri
XML_GetBase(XML_Parser parser)
const XML_Char XML_Content * model
typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData
const XML_Char * doctypeName
XML_SetCdataSectionHandler(XML_Parser parser, XML_StartCdataSectionHandler start, XML_EndCdataSectionHandler end)
XML_SetDefaultHandler(XML_Parser parser, XML_DefaultHandler handler)
XML_SetElementHandler(XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end)
XML_SetDoctypeDeclHandler(XML_Parser parser, XML_StartDoctypeDeclHandler start, XML_EndDoctypeDeclHandler end)
XML_SetEndElementHandler(XML_Parser parser, XML_EndElementHandler handler)
const XML_Char int const XML_Char int const XML_Char const XML_Char const XML_Char * publicId
const XML_Char * entityName
XML_SetElementDeclHandler(XML_Parser parser, XML_ElementDeclHandler eldecl)