1 /* Automatically generated header (sfdc 1.4)! Do not edit! */
3 #ifndef CLIB_EXPAT_PROTOS_H
4 #define CLIB_EXPAT_PROTOS_H
7 ** $VER: expat_protos.h 1.0 (14.04.2010)
9 ** C prototypes. For use with 32 bit integers only.
11 ** Copyright © 2001 Amiga, Inc.
12 ** All Rights Reserved
15 #include <libraries/expat.h>
19 #endif /* __cplusplus */
23 XML_Parser
XML_ParserCreate(const XML_Char
* encodingName
);
24 XML_Parser
XML_ParserCreateNS(const XML_Char
* encodingName
, XML_Char nsSep
);
25 XML_Parser
XML_ParserCreate_MM(const XML_Char
* encodingName
, const XML_Memory_Handling_Suite
* memsuite
, const XML_Char
* nameSep
);
26 XML_Parser
XML_ExternalEntityParserCreate(XML_Parser oldParser
, const XML_Char
* context
, const XML_Char
* encodingName
);
27 void XML_ParserFree(XML_Parser parser
);
28 int XML_Parse(XML_Parser parser
, const char * s
, int len
, int isFinal
);
29 int XML_ParseBuffer(XML_Parser parser
, int len
, int isFinal
);
30 void * XML_GetBuffer(XML_Parser parser
, int len
);
31 void XML_SetStartElementHandler(XML_Parser parser
, XML_StartElementHandler start
);
32 void XML_SetEndElementHandler(XML_Parser parser
, XML_EndElementHandler end
);
33 void XML_SetElementHandler(XML_Parser parser
, XML_StartElementHandler start
, XML_EndElementHandler end
);
34 void XML_SetCharacterDataHandler(XML_Parser parser
, XML_CharacterDataHandler handler
);
35 void XML_SetProcessingInstructionHandler(XML_Parser parser
, XML_ProcessingInstructionHandler handler
);
36 void XML_SetCommentHandler(XML_Parser parser
, XML_CommentHandler handler
);
37 void XML_SetStartCdataSectionHandler(XML_Parser parser
, XML_StartCdataSectionHandler start
);
38 void XML_SetEndCdataSectionHandler(XML_Parser parser
, XML_EndCdataSectionHandler end
);
39 void XML_SetCdataSectionHandler(XML_Parser parser
, XML_StartCdataSectionHandler start
, XML_EndCdataSectionHandler end
);
40 void XML_SetDefaultHandler(XML_Parser parser
, XML_DefaultHandler handler
);
41 void XML_SetDefaultHandlerExpand(XML_Parser parser
, XML_DefaultHandler handler
);
42 void XML_SetExternalEntityRefHandler(XML_Parser parser
, XML_ExternalEntityRefHandler handler
);
43 void XML_SetExternalEntityRefHandlerArg(XML_Parser parser
, void * arg
);
44 void XML_SetUnknownEncodingHandler(XML_Parser parser
, XML_UnknownEncodingHandler handler
, void * data
);
45 void XML_SetStartNamespaceDeclHandler(XML_Parser parser
, XML_StartNamespaceDeclHandler start
);
46 void XML_SetEndNamespaceDeclHandler(XML_Parser parser
, XML_EndNamespaceDeclHandler end
);
47 void XML_SetNamespaceDeclHandler(XML_Parser parser
, XML_StartNamespaceDeclHandler start
, XML_EndNamespaceDeclHandler end
);
48 void XML_SetXmlDeclHandler(XML_Parser parser
, XML_XmlDeclHandler handler
);
49 void XML_SetStartDoctypeDeclHandler(XML_Parser parser
, XML_StartDoctypeDeclHandler start
);
50 void XML_SetEndDoctypeDeclHandler(XML_Parser parser
, XML_EndDoctypeDeclHandler end
);
51 void XML_SetDoctypeDeclHandler(XML_Parser parser
, XML_StartDoctypeDeclHandler start
, XML_EndDoctypeDeclHandler end
);
52 void XML_SetElementDeclHandler(XML_Parser parser
, XML_ElementDeclHandler eldecl
);
53 void XML_SetAttlistDeclHandler(XML_Parser parser
, XML_AttlistDeclHandler attdecl
);
54 void XML_SetEntityDeclHandler(XML_Parser parser
, XML_EntityDeclHandler handler
);
55 void XML_SetUnparsedEntityDeclHandler(XML_Parser parser
, XML_UnparsedEntityDeclHandler handler
);
56 void XML_SetNotationDeclHandler(XML_Parser parser
, XML_NotationDeclHandler handler
);
57 void XML_SetNotStandaloneHandler(XML_Parser parser
, XML_NotStandaloneHandler handler
);
58 int XML_GetErrorCode(XML_Parser parser
);
59 const XML_LChar
* XML_ErrorString(int code
);
60 long XML_GetCurrentByteIndex(XML_Parser parser
);
61 int XML_GetCurrentLineNumber(XML_Parser parser
);
62 int XML_GetCurrentColumnNumber(XML_Parser parser
);
63 int XML_GetCurrentByteCount(XML_Parser parser
);
64 const char * XML_GetInputContext(XML_Parser parser
, int * offset
, int * size
);
65 void XML_SetUserData(XML_Parser parser
, void * p
);
66 void XML_DefaultCurrent(XML_Parser parser
);
67 void XML_UseParserAsHandlerArg(XML_Parser parser
);
68 int XML_SetBase(XML_Parser parser
, const XML_Char
* p
);
69 const XML_Char
* XML_GetBase(XML_Parser parser
);
70 int XML_GetSpecifiedAttributeCount(XML_Parser parser
);
71 int XML_GetIdAttributeIndex(XML_Parser parser
);
72 int XML_SetEncoding(XML_Parser parser
, const XML_Char
* encodingName
);
73 int XML_SetParamEntityParsing(XML_Parser parser
, int peParsing
);
74 void XML_SetReturnNSTriplet(XML_Parser parser
, int do_nst
);
75 const XML_LChar
* XML_ExpatVersion(void);
76 XML_Expat_Version
XML_ExpatVersionInfo(void);
77 XML_Bool
XML_ParserReset(XML_Parser parser
, const XML_Char
* encodingName
);
78 void XML_SetSkippedEntityHandler(XML_Parser parser
, XML_SkippedEntityHandler handler
);
79 int XML_UseForeignDTD(XML_Parser parser
, XML_Bool useDTD
);
80 const XML_Feature
* XML_GetFeatureList(void);
81 int XML_StopParser(XML_Parser parser
, XML_Bool resumable
);
82 int XML_ResumeParser(XML_Parser parser
);
83 void XML_GetParsingStatus(XML_Parser parser
, XML_ParsingStatus
* status
);
84 void XML_FreeContentModel(XML_Parser parser
, XML_Content
* model
);
85 void * XML_MemMalloc(XML_Parser parser
, size_t size
);
86 void * XML_MemRealloc(XML_Parser parser
, void * ptr
, size_t size
);
87 void XML_MemFree(XML_Parser parser
, void * ptr
);
91 #endif /* __cplusplus */
93 #endif /* CLIB_EXPAT_PROTOS_H */