PyExpat_CAPI Struct Reference

#include <pyexpat.h>

Public Attributes

char * magic
 
int size
 
int MAJOR_VERSION
 
int MINOR_VERSION
 
int MICRO_VERSION
 
const XML_LChar *(* ErrorString )(enum XML_Error code)
 
enum XML_Error(* GetErrorCode )(XML_Parser parser)
 
XML_Size(* GetErrorColumnNumber )(XML_Parser parser)
 
XML_Size(* GetErrorLineNumber )(XML_Parser parser)
 
enum XML_Status(* Parse )(XML_Parser parser, const char *s, int len, int isFinal)
 
XML_Parser(* ParserCreate_MM )(const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *namespaceSeparator)
 
void(* ParserFree )(XML_Parser parser)
 
void(* SetCharacterDataHandler )(XML_Parser parser, XML_CharacterDataHandler handler)
 
void(* SetCommentHandler )(XML_Parser parser, XML_CommentHandler handler)
 
void(* SetDefaultHandlerExpand )(XML_Parser parser, XML_DefaultHandler handler)
 
void(* SetElementHandler )(XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end)
 
void(* SetNamespaceDeclHandler )(XML_Parser parser, XML_StartNamespaceDeclHandler start, XML_EndNamespaceDeclHandler end)
 
void(* SetProcessingInstructionHandler )(XML_Parser parser, XML_ProcessingInstructionHandler handler)
 
void(* SetUnknownEncodingHandler )(XML_Parser parser, XML_UnknownEncodingHandler handler, void *encodingHandlerData)
 
void(* SetUserData )(XML_Parser parser, void *userData)
 
void(* SetStartDoctypeDeclHandler )(XML_Parser parser, XML_StartDoctypeDeclHandler start)
 
enum XML_Status(* SetEncoding )(XML_Parser parser, const XML_Char *encoding)
 
int(* DefaultUnknownEncodingHandler )(void *encodingHandlerData, const XML_Char *name, XML_Encoding *info)
 
int(* SetHashSalt )(XML_Parser parser, unsigned long hash_salt)
 

Member Data Documentation

◆ magic

char* magic

◆ size

int size

◆ MAJOR_VERSION

int MAJOR_VERSION

◆ MINOR_VERSION

int MINOR_VERSION

◆ MICRO_VERSION

int MICRO_VERSION

◆ ErrorString

const XML_LChar*(* ErrorString) (enum XML_Error code)

◆ GetErrorCode

enum XML_Error(* GetErrorCode) (XML_Parser parser)

◆ GetErrorColumnNumber

XML_Size(* GetErrorColumnNumber) (XML_Parser parser)

◆ GetErrorLineNumber

XML_Size(* GetErrorLineNumber) (XML_Parser parser)

◆ Parse

enum XML_Status(* Parse) (XML_Parser parser, const char *s, int len, int isFinal)

◆ ParserCreate_MM

XML_Parser(* ParserCreate_MM) (const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *namespaceSeparator)

◆ ParserFree

void(* ParserFree) (XML_Parser parser)

◆ SetCharacterDataHandler

void(* SetCharacterDataHandler) (XML_Parser parser, XML_CharacterDataHandler handler)

◆ SetCommentHandler

void(* SetCommentHandler) (XML_Parser parser, XML_CommentHandler handler)

◆ SetDefaultHandlerExpand

void(* SetDefaultHandlerExpand) (XML_Parser parser, XML_DefaultHandler handler)

◆ SetElementHandler

void(* SetElementHandler) (XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end)

◆ SetNamespaceDeclHandler

void(* SetNamespaceDeclHandler) (XML_Parser parser, XML_StartNamespaceDeclHandler start, XML_EndNamespaceDeclHandler end)

◆ SetProcessingInstructionHandler

void(* SetProcessingInstructionHandler) (XML_Parser parser, XML_ProcessingInstructionHandler handler)

◆ SetUnknownEncodingHandler

void(* SetUnknownEncodingHandler) (XML_Parser parser, XML_UnknownEncodingHandler handler, void *encodingHandlerData)

◆ SetUserData

void(* SetUserData) (XML_Parser parser, void *userData)

◆ SetStartDoctypeDeclHandler

void(* SetStartDoctypeDeclHandler) (XML_Parser parser, XML_StartDoctypeDeclHandler start)

◆ SetEncoding

enum XML_Status(* SetEncoding) (XML_Parser parser, const XML_Char *encoding)

◆ DefaultUnknownEncodingHandler

int(* DefaultUnknownEncodingHandler) (void *encodingHandlerData, const XML_Char *name, XML_Encoding *info)

◆ SetHashSalt

int(* SetHashSalt) (XML_Parser parser, unsigned long hash_salt)