ReactOS  0.4.12-dev-36-g472787f
expat.h File Reference
#include <stdlib.h>
#include "expat_external.h"
Include dependency graph for expat.h:

Go to the source code of this file.

Classes

struct  XML_cp
 
struct  XML_Memory_Handling_Suite
 
struct  XML_Encoding
 
struct  XML_ParsingStatus
 
struct  XML_Expat_Version
 
struct  XML_Feature
 

Macros

#define XML_TRUE   ((XML_Bool) 1)
 
#define XML_FALSE   ((XML_Bool) 0)
 
#define XML_STATUS_ERROR   XML_STATUS_ERROR
 
#define XML_STATUS_OK   XML_STATUS_OK
 
#define XML_STATUS_SUSPENDED   XML_STATUS_SUSPENDED
 
#define XML_GetUserData(parser)   (*(void **)(parser))
 
#define XML_GetErrorLineNumber   XML_GetCurrentLineNumber
 
#define XML_GetErrorColumnNumber   XML_GetCurrentColumnNumber
 
#define XML_GetErrorByteIndex   XML_GetCurrentByteIndex
 
#define XML_MAJOR_VERSION   2
 
#define XML_MINOR_VERSION   0
 
#define XML_MICRO_VERSION   0
 

Typedefs

typedef struct XML_ParserStruct * XML_Parser
 
typedef unsigned char XML_Bool
 
typedef struct XML_cp XML_Content
 
typedef void(XMLCALLXML_ElementDeclHandler) (void *userData, const XML_Char *name, XML_Content *model)
 
typedef void(XMLCALLXML_AttlistDeclHandler) (void *userData, const XML_Char *elname, const XML_Char *attname, const XML_Char *att_type, const XML_Char *dflt, int isrequired)
 
typedef void(XMLCALLXML_XmlDeclHandler) (void *userData, const XML_Char *version, const XML_Char *encoding, int standalone)
 
typedef void(XMLCALLXML_StartElementHandler) (void *userData, const XML_Char *name, const XML_Char **atts)
 
typedef void(XMLCALLXML_EndElementHandler) (void *userData, const XML_Char *name)
 
typedef void(XMLCALLXML_CharacterDataHandler) (void *userData, const XML_Char *s, int len)
 
typedef void(XMLCALLXML_ProcessingInstructionHandler) (void *userData, const XML_Char *target, const XML_Char *data)
 
typedef void(XMLCALLXML_CommentHandler) (void *userData, const XML_Char *data)
 
typedef void(XMLCALLXML_StartCdataSectionHandler) (void *userData)
 
typedef void(XMLCALLXML_EndCdataSectionHandler) (void *userData)
 
typedef void(XMLCALLXML_DefaultHandler) (void *userData, const XML_Char *s, int len)
 
typedef void(XMLCALLXML_StartDoctypeDeclHandler) (void *userData, const XML_Char *doctypeName, const XML_Char *sysid, const XML_Char *pubid, int has_internal_subset)
 
typedef void(XMLCALLXML_EndDoctypeDeclHandler) (void *userData)
 
typedef void(XMLCALLXML_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)
 
typedef void(XMLCALLXML_UnparsedEntityDeclHandler) (void *userData, const XML_Char *entityName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId, const XML_Char *notationName)
 
typedef void(XMLCALLXML_NotationDeclHandler) (void *userData, const XML_Char *notationName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId)
 
typedef void(XMLCALLXML_StartNamespaceDeclHandler) (void *userData, const XML_Char *prefix, const XML_Char *uri)
 
typedef void(XMLCALLXML_EndNamespaceDeclHandler) (void *userData, const XML_Char *prefix)
 
typedef int(XMLCALLXML_NotStandaloneHandler) (void *userData)
 
typedef int(XMLCALLXML_ExternalEntityRefHandler) (XML_Parser parser, const XML_Char *context, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId)
 
typedef void(XMLCALLXML_SkippedEntityHandler) (void *userData, const XML_Char *entityName, int is_parameter_entity)
 
typedef int(XMLCALLXML_UnknownEncodingHandler) (void *encodingHandlerData, const XML_Char *name, XML_Encoding *info)
 

Enumerations

enum  XML_Status {
  XML_STATUS_ERROR = 0, XML_STATUS_ERROR = 0, XML_STATUS_OK = 1, XML_STATUS_OK = 1,
  XML_STATUS_SUSPENDED
}
 
enum  XML_Error {
  XML_ERROR_NONE, XML_ERROR_NO_MEMORY, XML_ERROR_SYNTAX, XML_ERROR_NO_ELEMENTS,
  XML_ERROR_INVALID_TOKEN, XML_ERROR_UNCLOSED_TOKEN, XML_ERROR_PARTIAL_CHAR, XML_ERROR_TAG_MISMATCH,
  XML_ERROR_DUPLICATE_ATTRIBUTE, XML_ERROR_JUNK_AFTER_DOC_ELEMENT, XML_ERROR_PARAM_ENTITY_REF, XML_ERROR_UNDEFINED_ENTITY,
  XML_ERROR_RECURSIVE_ENTITY_REF, XML_ERROR_ASYNC_ENTITY, XML_ERROR_BAD_CHAR_REF, XML_ERROR_BINARY_ENTITY_REF,
  XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF, XML_ERROR_MISPLACED_XML_PI, XML_ERROR_UNKNOWN_ENCODING, XML_ERROR_INCORRECT_ENCODING,
  XML_ERROR_UNCLOSED_CDATA_SECTION, XML_ERROR_EXTERNAL_ENTITY_HANDLING, XML_ERROR_NOT_STANDALONE, XML_ERROR_UNEXPECTED_STATE,
  XML_ERROR_ENTITY_DECLARED_IN_PE, XML_ERROR_FEATURE_REQUIRES_XML_DTD, XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING, XML_ERROR_UNBOUND_PREFIX,
  XML_ERROR_UNDECLARING_PREFIX, XML_ERROR_INCOMPLETE_PE, XML_ERROR_XML_DECL, XML_ERROR_TEXT_DECL,
  XML_ERROR_PUBLICID, XML_ERROR_SUSPENDED, XML_ERROR_NOT_SUSPENDED, XML_ERROR_ABORTED,
  XML_ERROR_FINISHED, XML_ERROR_SUSPEND_PE, XML_ERROR_RESERVED_PREFIX_XML, XML_ERROR_RESERVED_PREFIX_XMLNS,
  XML_ERROR_RESERVED_NAMESPACE_URI
}
 
enum  XML_Content_Type {
  XML_CTYPE_EMPTY = 1, XML_CTYPE_ANY, XML_CTYPE_MIXED, XML_CTYPE_NAME,
  XML_CTYPE_CHOICE, XML_CTYPE_SEQ
}
 
enum  XML_Content_Quant { XML_CQUANT_NONE, XML_CQUANT_OPT, XML_CQUANT_REP, XML_CQUANT_PLUS }
 
enum  XML_Parsing { XML_INITIALIZED, XML_PARSING, XML_FINISHED, XML_SUSPENDED }
 
enum  XML_ParamEntityParsing { XML_PARAM_ENTITY_PARSING_NEVER, XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE, XML_PARAM_ENTITY_PARSING_ALWAYS }
 
enum  XML_FeatureEnum {
  XML_FEATURE_END = 0, XML_FEATURE_UNICODE, XML_FEATURE_UNICODE_WCHAR_T, XML_FEATURE_DTD,
  XML_FEATURE_CONTEXT_BYTES, XML_FEATURE_MIN_SIZE, XML_FEATURE_SIZEOF_XML_CHAR, XML_FEATURE_SIZEOF_XML_LCHAR,
  XML_FEATURE_NS
}
 

Functions

 XML_SetElementDeclHandler (XML_Parser parser, XML_ElementDeclHandler eldecl)
 
 XML_SetAttlistDeclHandler (XML_Parser parser, XML_AttlistDeclHandler attdecl)
 
 XML_SetXmlDeclHandler (XML_Parser parser, XML_XmlDeclHandler xmldecl)
 
 XML_ParserCreate (const XML_Char *encoding)
 
 XML_ParserCreateNS (const XML_Char *encoding, XML_Char namespaceSeparator)
 
 XML_ParserCreate_MM (const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *namespaceSeparator)
 
 XML_ParserReset (XML_Parser parser, const XML_Char *encoding)
 
 XML_SetEntityDeclHandler (XML_Parser parser, XML_EntityDeclHandler handler)
 
 XML_SetElementHandler (XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end)
 
 XML_SetStartElementHandler (XML_Parser parser, XML_StartElementHandler handler)
 
 XML_SetEndElementHandler (XML_Parser parser, XML_EndElementHandler handler)
 
 XML_SetCharacterDataHandler (XML_Parser parser, XML_CharacterDataHandler handler)
 
 XML_SetProcessingInstructionHandler (XML_Parser parser, XML_ProcessingInstructionHandler handler)
 
 XML_SetCommentHandler (XML_Parser parser, XML_CommentHandler handler)
 
 XML_SetCdataSectionHandler (XML_Parser parser, XML_StartCdataSectionHandler start, XML_EndCdataSectionHandler end)
 
 XML_SetStartCdataSectionHandler (XML_Parser parser, XML_StartCdataSectionHandler start)
 
 XML_SetEndCdataSectionHandler (XML_Parser parser, XML_EndCdataSectionHandler end)
 
 XML_SetDefaultHandler (XML_Parser parser, XML_DefaultHandler handler)
 
 XML_SetDefaultHandlerExpand (XML_Parser parser, XML_DefaultHandler handler)
 
 XML_SetDoctypeDeclHandler (XML_Parser parser, XML_StartDoctypeDeclHandler start, XML_EndDoctypeDeclHandler end)
 
 XML_SetStartDoctypeDeclHandler (XML_Parser parser, XML_StartDoctypeDeclHandler start)
 
 XML_SetEndDoctypeDeclHandler (XML_Parser parser, XML_EndDoctypeDeclHandler end)
 
 XML_SetUnparsedEntityDeclHandler (XML_Parser parser, XML_UnparsedEntityDeclHandler handler)
 
 XML_SetNotationDeclHandler (XML_Parser parser, XML_NotationDeclHandler handler)
 
 XML_SetNamespaceDeclHandler (XML_Parser parser, XML_StartNamespaceDeclHandler start, XML_EndNamespaceDeclHandler end)
 
 XML_SetStartNamespaceDeclHandler (XML_Parser parser, XML_StartNamespaceDeclHandler start)
 
 XML_SetEndNamespaceDeclHandler (XML_Parser parser, XML_EndNamespaceDeclHandler end)
 
 XML_SetNotStandaloneHandler (XML_Parser parser, XML_NotStandaloneHandler handler)
 
 XML_SetExternalEntityRefHandler (XML_Parser parser, XML_ExternalEntityRefHandler handler)
 
 XML_SetExternalEntityRefHandlerArg (XML_Parser parser, void *arg)
 
 XML_SetSkippedEntityHandler (XML_Parser parser, XML_SkippedEntityHandler handler)
 
 XML_SetUnknownEncodingHandler (XML_Parser parser, XML_UnknownEncodingHandler handler, void *encodingHandlerData)
 
 XML_DefaultCurrent (XML_Parser parser)
 
 XML_SetReturnNSTriplet (XML_Parser parser, int do_nst)
 
 XML_SetUserData (XML_Parser parser, void *userData)
 
 XML_SetEncoding (XML_Parser parser, const XML_Char *encoding)
 
 XML_UseParserAsHandlerArg (XML_Parser parser)
 
 XML_UseForeignDTD (XML_Parser parser, XML_Bool useDTD)
 
 XML_SetBase (XML_Parser parser, const XML_Char *base)
 
 XML_GetBase (XML_Parser parser)
 
 XML_GetSpecifiedAttributeCount (XML_Parser parser)
 
 XML_GetIdAttributeIndex (XML_Parser parser)
 
 XML_Parse (XML_Parser parser, const char *s, int len, int isFinal)
 
 XML_GetBuffer (XML_Parser parser, int len)
 
 XML_ParseBuffer (XML_Parser parser, int len, int isFinal)
 
 XML_StopParser (XML_Parser parser, XML_Bool resumable)
 
 XML_ResumeParser (XML_Parser parser)
 
 XML_GetParsingStatus (XML_Parser parser, XML_ParsingStatus *status)
 
 XML_ExternalEntityParserCreate (XML_Parser parser, const XML_Char *context, const XML_Char *encoding)
 
 XML_SetParamEntityParsing (XML_Parser parser, enum XML_ParamEntityParsing parsing)
 
 XML_GetErrorCode (XML_Parser parser)
 
 XMLPARSEAPI (XML_Size) XML_GetCurrentLineNumber(XML_Parser parser)
 
 XMLPARSEAPI (XML_Index) XML_GetCurrentByteIndex(XML_Parser parser)
 
 XML_GetCurrentByteCount (XML_Parser parser)
 
 XML_GetInputContext (XML_Parser parser, int *offset, int *size)
 
 XML_FreeContentModel (XML_Parser parser, XML_Content *model)
 
 XML_MemMalloc (XML_Parser parser, size_t size)
 
 XML_MemRealloc (XML_Parser parser, void *ptr, size_t size)
 
 XML_MemFree (XML_Parser parser, void *ptr)
 
 XML_ParserFree (XML_Parser parser)
 
 XML_ErrorString (enum XML_Error code)
 
 XML_ExpatVersion (void)
 
 XML_ExpatVersionInfo (void)
 
 XML_GetFeatureList (void)
 

Macro Definition Documentation

◆ XML_FALSE

#define XML_FALSE   ((XML_Bool) 0)

Definition at line 30 of file expat.h.

◆ XML_GetErrorByteIndex

#define XML_GetErrorByteIndex   XML_GetCurrentByteIndex

Definition at line 936 of file expat.h.

◆ XML_GetErrorColumnNumber

#define XML_GetErrorColumnNumber   XML_GetCurrentColumnNumber

Definition at line 935 of file expat.h.

◆ XML_GetErrorLineNumber

#define XML_GetErrorLineNumber   XML_GetCurrentLineNumber

Definition at line 934 of file expat.h.

◆ XML_GetUserData

#define XML_GetUserData (   parser)    (*(void **)(parser))

Definition at line 674 of file expat.h.

◆ XML_MAJOR_VERSION

#define XML_MAJOR_VERSION   2

Definition at line 1005 of file expat.h.

◆ XML_MICRO_VERSION

#define XML_MICRO_VERSION   0

Definition at line 1007 of file expat.h.

◆ XML_MINOR_VERSION

#define XML_MINOR_VERSION   0

Definition at line 1006 of file expat.h.

◆ XML_STATUS_ERROR

#define XML_STATUS_ERROR   XML_STATUS_ERROR

Definition at line 47 of file expat.h.

◆ XML_STATUS_OK

#define XML_STATUS_OK   XML_STATUS_OK

Definition at line 49 of file expat.h.

◆ XML_STATUS_SUSPENDED

#define XML_STATUS_SUSPENDED   XML_STATUS_SUSPENDED

◆ XML_TRUE

#define XML_TRUE   ((XML_Bool) 1)

Definition at line 29 of file expat.h.

Typedef Documentation

◆ XML_AttlistDeclHandler

typedef 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)

Definition at line 166 of file expat.h.

◆ XML_Bool

typedef unsigned char XML_Bool

Definition at line 28 of file expat.h.

◆ XML_CharacterDataHandler

typedef void(XMLCALL * XML_CharacterDataHandler) (void *userData, const XML_Char *s, int len)

Definition at line 261 of file expat.h.

◆ XML_CommentHandler

typedef void(XMLCALL * XML_CommentHandler) (void *userData, const XML_Char *data)

Definition at line 272 of file expat.h.

◆ XML_Content

Definition at line 135 of file expat.h.

◆ XML_DefaultHandler

typedef void(XMLCALL * XML_DefaultHandler) (void *userData, const XML_Char *s, int len)

Definition at line 291 of file expat.h.

◆ XML_ElementDeclHandler

typedef void(XMLCALL * XML_ElementDeclHandler) (void *userData, const XML_Char *name, XML_Content *model)

Definition at line 150 of file expat.h.

◆ XML_EndCdataSectionHandler

typedef void(XMLCALL * XML_EndCdataSectionHandler) (void *userData)

Definition at line 276 of file expat.h.

◆ XML_EndDoctypeDeclHandler

typedef void(XMLCALL * XML_EndDoctypeDeclHandler) (void *userData)

Definition at line 309 of file expat.h.

◆ XML_EndElementHandler

typedef void(XMLCALL * XML_EndElementHandler) (void *userData, const XML_Char *name)

Definition at line 256 of file expat.h.

◆ XML_EndNamespaceDeclHandler

typedef void(XMLCALL * XML_EndNamespaceDeclHandler) (void *userData, const XML_Char *prefix)

Definition at line 383 of file expat.h.

◆ XML_EntityDeclHandler

typedef 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)

Definition at line 329 of file expat.h.

◆ XML_ExternalEntityRefHandler

typedef int(XMLCALL * XML_ExternalEntityRefHandler) (XML_Parser parser, const XML_Char *context, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId)

Definition at line 432 of file expat.h.

◆ XML_NotationDeclHandler

typedef void(XMLCALL * XML_NotationDeclHandler) (void *userData, const XML_Char *notationName, const XML_Char *base, const XML_Char *systemId, const XML_Char *publicId)

Definition at line 365 of file expat.h.

◆ XML_NotStandaloneHandler

typedef int(XMLCALL * XML_NotStandaloneHandler) (void *userData)

Definition at line 396 of file expat.h.

◆ XML_Parser

typedef struct XML_ParserStruct* XML_Parser

Definition at line 25 of file expat.h.

◆ XML_ProcessingInstructionHandler

typedef void(XMLCALL * XML_ProcessingInstructionHandler) (void *userData, const XML_Char *target, const XML_Char *data)

Definition at line 266 of file expat.h.

◆ XML_SkippedEntityHandler

typedef void(XMLCALL * XML_SkippedEntityHandler) (void *userData, const XML_Char *entityName, int is_parameter_entity)

Definition at line 449 of file expat.h.

◆ XML_StartCdataSectionHandler

typedef void(XMLCALL * XML_StartCdataSectionHandler) (void *userData)

Definition at line 275 of file expat.h.

◆ XML_StartDoctypeDeclHandler

typedef void(XMLCALL * XML_StartDoctypeDeclHandler) (void *userData, const XML_Char *doctypeName, const XML_Char *sysid, const XML_Char *pubid, int has_internal_subset)

Definition at line 298 of file expat.h.

◆ XML_StartElementHandler

typedef void(XMLCALL * XML_StartElementHandler) (void *userData, const XML_Char *name, const XML_Char **atts)

Definition at line 252 of file expat.h.

◆ XML_StartNamespaceDeclHandler

typedef void(XMLCALL * XML_StartNamespaceDeclHandler) (void *userData, const XML_Char *prefix, const XML_Char *uri)

Definition at line 378 of file expat.h.

◆ XML_UnknownEncodingHandler

typedef int(XMLCALL * XML_UnknownEncodingHandler) (void *encodingHandlerData, const XML_Char *name, XML_Encoding *info)

Definition at line 528 of file expat.h.

◆ XML_UnparsedEntityDeclHandler

typedef 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)

Definition at line 353 of file expat.h.

◆ XML_XmlDeclHandler

typedef void(XMLCALL * XML_XmlDeclHandler) (void *userData, const XML_Char *version, const XML_Char *encoding, int standalone)

Definition at line 186 of file expat.h.

Enumeration Type Documentation

◆ XML_Content_Quant

Enumerator
XML_CQUANT_NONE 
XML_CQUANT_OPT 
XML_CQUANT_REP 
XML_CQUANT_PLUS 

Definition at line 110 of file expat.h.

◆ XML_Content_Type

Enumerator
XML_CTYPE_EMPTY 
XML_CTYPE_ANY 
XML_CTYPE_MIXED 
XML_CTYPE_NAME 
XML_CTYPE_CHOICE 
XML_CTYPE_SEQ 

Definition at line 101 of file expat.h.

◆ XML_Error

Enumerator
XML_ERROR_NONE 
XML_ERROR_NO_MEMORY 
XML_ERROR_SYNTAX 
XML_ERROR_NO_ELEMENTS 
XML_ERROR_INVALID_TOKEN 
XML_ERROR_UNCLOSED_TOKEN 
XML_ERROR_PARTIAL_CHAR 
XML_ERROR_TAG_MISMATCH 
XML_ERROR_DUPLICATE_ATTRIBUTE 
XML_ERROR_JUNK_AFTER_DOC_ELEMENT 
XML_ERROR_PARAM_ENTITY_REF 
XML_ERROR_UNDEFINED_ENTITY 
XML_ERROR_RECURSIVE_ENTITY_REF 
XML_ERROR_ASYNC_ENTITY 
XML_ERROR_BAD_CHAR_REF 
XML_ERROR_BINARY_ENTITY_REF 
XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF 
XML_ERROR_MISPLACED_XML_PI 
XML_ERROR_UNKNOWN_ENCODING 
XML_ERROR_INCORRECT_ENCODING 
XML_ERROR_UNCLOSED_CDATA_SECTION 
XML_ERROR_EXTERNAL_ENTITY_HANDLING 
XML_ERROR_NOT_STANDALONE 
XML_ERROR_UNEXPECTED_STATE 
XML_ERROR_ENTITY_DECLARED_IN_PE 
XML_ERROR_FEATURE_REQUIRES_XML_DTD 
XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING 
XML_ERROR_UNBOUND_PREFIX 
XML_ERROR_UNDECLARING_PREFIX 
XML_ERROR_INCOMPLETE_PE 
XML_ERROR_XML_DECL 
XML_ERROR_TEXT_DECL 
XML_ERROR_PUBLICID 
XML_ERROR_SUSPENDED 
XML_ERROR_NOT_SUSPENDED 
XML_ERROR_ABORTED 
XML_ERROR_FINISHED 
XML_ERROR_SUSPEND_PE 
XML_ERROR_RESERVED_PREFIX_XML 
XML_ERROR_RESERVED_PREFIX_XMLNS 
XML_ERROR_RESERVED_NAMESPACE_URI 

Definition at line 54 of file expat.h.

54  {
82  /* Added in 1.95.7. */
84  /* Added in 1.95.8. */
95  /* Added in 2.0. */
99 };

◆ XML_FeatureEnum

Enumerator
XML_FEATURE_END 
XML_FEATURE_UNICODE 
XML_FEATURE_UNICODE_WCHAR_T 
XML_FEATURE_DTD 
XML_FEATURE_CONTEXT_BYTES 
XML_FEATURE_MIN_SIZE 
XML_FEATURE_SIZEOF_XML_CHAR 
XML_FEATURE_SIZEOF_XML_LCHAR 
XML_FEATURE_NS 

Definition at line 977 of file expat.h.

◆ XML_ParamEntityParsing

Enumerator
XML_PARAM_ENTITY_PARSING_NEVER 
XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE 
XML_PARAM_ENTITY_PARSING_ALWAYS 

Definition at line 853 of file expat.h.

◆ XML_Parsing

Enumerator
XML_INITIALIZED 
XML_PARSING 
XML_FINISHED 
XML_SUSPENDED 

Definition at line 812 of file expat.h.

812  {
814  XML_PARSING,
815  XML_FINISHED,
817 };

◆ XML_Status

Enumerator
XML_STATUS_ERROR 
XML_STATUS_ERROR 
XML_STATUS_OK 
XML_STATUS_OK 
XML_STATUS_SUSPENDED 

Definition at line 45 of file expat.h.

45  {
46  XML_STATUS_ERROR = 0,
47 #define XML_STATUS_ERROR XML_STATUS_ERROR
48  XML_STATUS_OK = 1,
49 #define XML_STATUS_OK XML_STATUS_OK
51 #define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
52 };
#define XML_STATUS_SUSPENDED
#define XML_STATUS_OK
Definition: expat.h:49
#define XML_STATUS_ERROR
Definition: expat.h:47

Function Documentation

◆ XML_DefaultCurrent()

XML_DefaultCurrent ( XML_Parser  parser)

◆ XML_ErrorString()

XML_ErrorString ( enum XML_Error  code)

◆ XML_ExpatVersion()

XML_ExpatVersion ( void  )

◆ XML_ExpatVersionInfo()

XML_ExpatVersionInfo ( void  )

◆ XML_ExternalEntityParserCreate()

XML_ExternalEntityParserCreate ( XML_Parser  parser,
const XML_Char context,
const XML_Char encoding 
)

◆ XML_FreeContentModel()

XML_FreeContentModel ( XML_Parser  parser,
XML_Content model 
)

◆ XML_GetBase()

XML_GetBase ( XML_Parser  parser)

◆ XML_GetBuffer()

XML_GetBuffer ( XML_Parser  parser,
int  len 
)

◆ XML_GetCurrentByteCount()

XML_GetCurrentByteCount ( XML_Parser  parser)

◆ XML_GetErrorCode()

XML_GetErrorCode ( XML_Parser  parser)

◆ XML_GetFeatureList()

XML_GetFeatureList ( void  )

◆ XML_GetIdAttributeIndex()

XML_GetIdAttributeIndex ( XML_Parser  parser)

◆ XML_GetInputContext()

XML_GetInputContext ( XML_Parser  parser,
int offset,
int size 
)

◆ XML_GetParsingStatus()

XML_GetParsingStatus ( XML_Parser  parser,
XML_ParsingStatus status 
)

◆ XML_GetSpecifiedAttributeCount()

XML_GetSpecifiedAttributeCount ( XML_Parser  parser)

◆ XML_MemFree()

XML_MemFree ( XML_Parser  parser,
void ptr 
)

◆ XML_MemMalloc()

XML_MemMalloc ( XML_Parser  parser,
size_t  size 
)

◆ XML_MemRealloc()

XML_MemRealloc ( XML_Parser  parser,
void ptr,
size_t  size 
)

◆ XML_Parse()

XML_Parse ( XML_Parser  parser,
const char s,
int  len,
int  isFinal 
)

◆ XML_ParseBuffer()

XML_ParseBuffer ( XML_Parser  parser,
int  len,
int  isFinal 
)

◆ XML_ParserCreate()

XML_ParserCreate ( const XML_Char encoding)

◆ XML_ParserCreate_MM()

XML_ParserCreate_MM ( const XML_Char encoding,
const XML_Memory_Handling_Suite memsuite,
const XML_Char namespaceSeparator 
)

◆ XML_ParserCreateNS()

XML_ParserCreateNS ( const XML_Char encoding,
XML_Char  namespaceSeparator 
)

◆ XML_ParserFree()

XML_ParserFree ( XML_Parser  parser)

◆ XML_ParserReset()

XML_ParserReset ( XML_Parser  parser,
const XML_Char encoding 
)

◆ XML_ResumeParser()

XML_ResumeParser ( XML_Parser  parser)

◆ XML_SetAttlistDeclHandler()

XML_SetAttlistDeclHandler ( XML_Parser  parser,
XML_AttlistDeclHandler  attdecl 
)

◆ XML_SetBase()

XML_SetBase ( XML_Parser  parser,
const XML_Char base 
)

◆ XML_SetCdataSectionHandler()

XML_SetCdataSectionHandler ( XML_Parser  parser,
XML_StartCdataSectionHandler  start,
XML_EndCdataSectionHandler  end 
)

◆ XML_SetCharacterDataHandler()

XML_SetCharacterDataHandler ( XML_Parser  parser,
XML_CharacterDataHandler  handler 
)

◆ XML_SetCommentHandler()

XML_SetCommentHandler ( XML_Parser  parser,
XML_CommentHandler  handler 
)

◆ XML_SetDefaultHandler()

XML_SetDefaultHandler ( XML_Parser  parser,
XML_DefaultHandler  handler 
)

◆ XML_SetDefaultHandlerExpand()

XML_SetDefaultHandlerExpand ( XML_Parser  parser,
XML_DefaultHandler  handler 
)

◆ XML_SetDoctypeDeclHandler()

XML_SetDoctypeDeclHandler ( XML_Parser  parser,
XML_StartDoctypeDeclHandler  start,
XML_EndDoctypeDeclHandler  end 
)

◆ XML_SetElementDeclHandler()

XML_SetElementDeclHandler ( XML_Parser  parser,
XML_ElementDeclHandler  eldecl 
)

◆ XML_SetElementHandler()

XML_SetElementHandler ( XML_Parser  parser,
XML_StartElementHandler  start,
XML_EndElementHandler  end 
)

◆ XML_SetEncoding()

XML_SetEncoding ( XML_Parser  parser,
const XML_Char encoding 
)

◆ XML_SetEndCdataSectionHandler()

XML_SetEndCdataSectionHandler ( XML_Parser  parser,
XML_EndCdataSectionHandler  end 
)

◆ XML_SetEndDoctypeDeclHandler()

XML_SetEndDoctypeDeclHandler ( XML_Parser  parser,
XML_EndDoctypeDeclHandler  end 
)

◆ XML_SetEndElementHandler()

XML_SetEndElementHandler ( XML_Parser  parser,
XML_EndElementHandler  handler 
)

◆ XML_SetEndNamespaceDeclHandler()

XML_SetEndNamespaceDeclHandler ( XML_Parser  parser,
XML_EndNamespaceDeclHandler  end 
)

◆ XML_SetEntityDeclHandler()

XML_SetEntityDeclHandler ( XML_Parser  parser,
XML_EntityDeclHandler  handler 
)

◆ XML_SetExternalEntityRefHandler()

XML_SetExternalEntityRefHandler ( XML_Parser  parser,
XML_ExternalEntityRefHandler  handler 
)

◆ XML_SetExternalEntityRefHandlerArg()

XML_SetExternalEntityRefHandlerArg ( XML_Parser  parser,
void arg 
)

◆ XML_SetNamespaceDeclHandler()

XML_SetNamespaceDeclHandler ( XML_Parser  parser,
XML_StartNamespaceDeclHandler  start,
XML_EndNamespaceDeclHandler  end 
)

◆ XML_SetNotationDeclHandler()

XML_SetNotationDeclHandler ( XML_Parser  parser,
XML_NotationDeclHandler  handler 
)

◆ XML_SetNotStandaloneHandler()

XML_SetNotStandaloneHandler ( XML_Parser  parser,
XML_NotStandaloneHandler  handler 
)

◆ XML_SetParamEntityParsing()

XML_SetParamEntityParsing ( XML_Parser  parser,
enum XML_ParamEntityParsing  parsing 
)

◆ XML_SetProcessingInstructionHandler()

XML_SetProcessingInstructionHandler ( XML_Parser  parser,
XML_ProcessingInstructionHandler  handler 
)

◆ XML_SetReturnNSTriplet()

XML_SetReturnNSTriplet ( XML_Parser  parser,
int  do_nst 
)

◆ XML_SetSkippedEntityHandler()

XML_SetSkippedEntityHandler ( XML_Parser  parser,
XML_SkippedEntityHandler  handler 
)

◆ XML_SetStartCdataSectionHandler()

XML_SetStartCdataSectionHandler ( XML_Parser  parser,
XML_StartCdataSectionHandler  start 
)

◆ XML_SetStartDoctypeDeclHandler()

XML_SetStartDoctypeDeclHandler ( XML_Parser  parser,
XML_StartDoctypeDeclHandler  start 
)

◆ XML_SetStartElementHandler()

XML_SetStartElementHandler ( XML_Parser  parser,
XML_StartElementHandler  handler 
)

◆ XML_SetStartNamespaceDeclHandler()

XML_SetStartNamespaceDeclHandler ( XML_Parser  parser,
XML_StartNamespaceDeclHandler  start 
)

◆ XML_SetUnknownEncodingHandler()

XML_SetUnknownEncodingHandler ( XML_Parser  parser,
XML_UnknownEncodingHandler  handler,
void encodingHandlerData 
)

◆ XML_SetUnparsedEntityDeclHandler()

XML_SetUnparsedEntityDeclHandler ( XML_Parser  parser,
XML_UnparsedEntityDeclHandler  handler 
)

◆ XML_SetUserData()

XML_SetUserData ( XML_Parser  parser,
void userData 
)

◆ XML_SetXmlDeclHandler()

XML_SetXmlDeclHandler ( XML_Parser  parser,
XML_XmlDeclHandler  xmldecl 
)

◆ XML_StopParser()

XML_StopParser ( XML_Parser  parser,
XML_Bool  resumable 
)

◆ XML_UseForeignDTD()

XML_UseForeignDTD ( XML_Parser  parser,
XML_Bool  useDTD 
)

◆ XML_UseParserAsHandlerArg()

XML_UseParserAsHandlerArg ( XML_Parser  parser)

◆ XMLPARSEAPI() [1/2]

XMLPARSEAPI ( XML_Size  )

◆ XMLPARSEAPI() [2/2]

XMLPARSEAPI ( XML_Index  )