1 #ifndef EXPAT_INTERFACE_DEF_H
2 #define EXPAT_INTERFACE_DEF_H
5 ** This file was machine generated by idltool 51.6.
10 #include <exec/types.h>
13 #include <exec/exec.h>
15 #ifndef EXEC_INTERFACES_H
16 #include <exec/interfaces.h>
19 #ifndef LIBRARIES_EXPAT_H
20 #include <libraries/expat.h>
25 struct InterfaceData Data
;
27 uint32
APICALL (*Obtain
)(struct ExpatIFace
*Self
);
28 uint32
APICALL (*Release
)(struct ExpatIFace
*Self
);
29 void APICALL (*Expunge
)(struct ExpatIFace
*Self
);
30 struct Interface
* APICALL (*Clone
)(struct ExpatIFace
*Self
);
31 XML_Parser
APICALL (*XML_ParserCreate
)(struct ExpatIFace
*Self
, const XML_Char
* encodingName
);
32 XML_Parser
APICALL (*XML_ParserCreateNS
)(struct ExpatIFace
*Self
, const XML_Char
* encodingName
, XML_Char nsSep
);
33 XML_Parser
APICALL (*XML_ParserCreate_MM
)(struct ExpatIFace
*Self
, const XML_Char
* encoding
, const XML_Memory_Handling_Suite
* memsuite
, const XML_Char
* namespaceSeparator
);
34 XML_Parser
APICALL (*XML_ExternalEntityParserCreate
)(struct ExpatIFace
*Self
, XML_Parser parser
, const XML_Char
* context
, const XML_Char
* encoding
);
35 void APICALL (*XML_ParserFree
)(struct ExpatIFace
*Self
, XML_Parser parser
);
36 enum XML_Status
APICALL (*XML_Parse
)(struct ExpatIFace
*Self
, XML_Parser parser
, const char * s
, int len
, int isFinal
);
37 enum XML_Status
APICALL (*XML_ParseBuffer
)(struct ExpatIFace
*Self
, XML_Parser parser
, int len
, int isFinal
);
38 void * APICALL (*XML_GetBuffer
)(struct ExpatIFace
*Self
, XML_Parser parser
, int len
);
39 void APICALL (*XML_SetStartElementHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_StartElementHandler start
);
40 void APICALL (*XML_SetEndElementHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_EndElementHandler end
);
41 void APICALL (*XML_SetElementHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_StartElementHandler start
, XML_EndElementHandler end
);
42 void APICALL (*XML_SetCharacterDataHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_CharacterDataHandler handler
);
43 void APICALL (*XML_SetProcessingInstructionHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_ProcessingInstructionHandler handler
);
44 void APICALL (*XML_SetCommentHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_CommentHandler handler
);
45 void APICALL (*XML_SetStartCdataSectionHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_StartCdataSectionHandler start
);
46 void APICALL (*XML_SetEndCdataSectionHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_EndCdataSectionHandler end
);
47 void APICALL (*XML_SetCdataSectionHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_StartCdataSectionHandler start
, XML_EndCdataSectionHandler end
);
48 void APICALL (*XML_SetDefaultHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_DefaultHandler handler
);
49 void APICALL (*XML_SetDefaultHandlerExpand
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_DefaultHandler handler
);
50 void APICALL (*XML_SetExternalEntityRefHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_ExternalEntityRefHandler handler
);
51 void APICALL (*XML_SetExternalEntityRefHandlerArg
)(struct ExpatIFace
*Self
, XML_Parser parser
, void * arg
);
52 void APICALL (*XML_SetUnknownEncodingHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_UnknownEncodingHandler handler
, void * data
);
53 void APICALL (*XML_SetStartNamespaceDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_StartNamespaceDeclHandler start
);
54 void APICALL (*XML_SetEndNamespaceDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_EndNamespaceDeclHandler end
);
55 void APICALL (*XML_SetNamespaceDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_StartNamespaceDeclHandler start
, XML_EndNamespaceDeclHandler end
);
56 void APICALL (*XML_SetXmlDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_XmlDeclHandler handler
);
57 void APICALL (*XML_SetStartDoctypeDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_StartDoctypeDeclHandler start
);
58 void APICALL (*XML_SetEndDoctypeDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_EndDoctypeDeclHandler end
);
59 void APICALL (*XML_SetDoctypeDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_StartDoctypeDeclHandler start
, XML_EndDoctypeDeclHandler end
);
60 void APICALL (*XML_SetElementDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_ElementDeclHandler eldecl
);
61 void APICALL (*XML_SetAttlistDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_AttlistDeclHandler attdecl
);
62 void APICALL (*XML_SetEntityDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_EntityDeclHandler handler
);
63 void APICALL (*XML_SetUnparsedEntityDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_UnparsedEntityDeclHandler handler
);
64 void APICALL (*XML_SetNotationDeclHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_NotationDeclHandler handler
);
65 void APICALL (*XML_SetNotStandaloneHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_NotStandaloneHandler handler
);
66 enum XML_Error
APICALL (*XML_GetErrorCode
)(struct ExpatIFace
*Self
, XML_Parser parser
);
67 const XML_LChar
* APICALL (*XML_ErrorString
)(struct ExpatIFace
*Self
, enum XML_Error code
);
68 long APICALL (*XML_GetCurrentByteIndex
)(struct ExpatIFace
*Self
, XML_Parser parser
);
69 int APICALL (*XML_GetCurrentLineNumber
)(struct ExpatIFace
*Self
, XML_Parser parser
);
70 int APICALL (*XML_GetCurrentColumnNumber
)(struct ExpatIFace
*Self
, XML_Parser parser
);
71 int APICALL (*XML_GetCurrentByteCount
)(struct ExpatIFace
*Self
, XML_Parser parser
);
72 const char * APICALL (*XML_GetInputContext
)(struct ExpatIFace
*Self
, XML_Parser parser
, int * offset
, int * size
);
73 void APICALL (*XML_SetUserData
)(struct ExpatIFace
*Self
, XML_Parser parser
, void * userData
);
74 void APICALL (*XML_DefaultCurrent
)(struct ExpatIFace
*Self
, XML_Parser parser
);
75 void APICALL (*XML_UseParserAsHandlerArg
)(struct ExpatIFace
*Self
, XML_Parser parser
);
76 enum XML_Status
APICALL (*XML_SetBase
)(struct ExpatIFace
*Self
, XML_Parser parser
, const XML_Char
* base
);
77 const XML_Char
* APICALL (*XML_GetBase
)(struct ExpatIFace
*Self
, XML_Parser parser
);
78 int APICALL (*XML_GetSpecifiedAttributeCount
)(struct ExpatIFace
*Self
, XML_Parser parser
);
79 int APICALL (*XML_GetIdAttributeIndex
)(struct ExpatIFace
*Self
, XML_Parser parser
);
80 enum XML_Status
APICALL (*XML_SetEncoding
)(struct ExpatIFace
*Self
, XML_Parser parser
, const XML_Char
* encoding
);
81 int APICALL (*XML_SetParamEntityParsing
)(struct ExpatIFace
*Self
, XML_Parser parser
, enum XML_ParamEntityParsing parsing
);
82 void APICALL (*XML_SetReturnNSTriplet
)(struct ExpatIFace
*Self
, XML_Parser parser
, int do_nst
);
83 const XML_LChar
* APICALL (*XML_ExpatVersion
)(struct ExpatIFace
*Self
);
84 XML_Expat_Version
APICALL (*XML_ExpatVersionInfo
)(struct ExpatIFace
*Self
);
85 XML_Bool
APICALL (*XML_ParserReset
)(struct ExpatIFace
*Self
, XML_Parser parser
, const XML_Char
* encoding
);
86 void APICALL (*XML_SetSkippedEntityHandler
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_SkippedEntityHandler handler
);
87 enum XML_Error
APICALL (*XML_UseForeignDTD
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_Bool useDTD
);
88 const XML_Feature
* APICALL (*XML_GetFeatureList
)(struct ExpatIFace
*Self
);
89 enum XML_Status
APICALL (*XML_StopParser
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_Bool resumable
);
90 enum XML_Status
APICALL (*XML_ResumeParser
)(struct ExpatIFace
*Self
, XML_Parser parser
);
91 void APICALL (*XML_GetParsingStatus
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_ParsingStatus
* status
);
92 void APICALL (*XML_FreeContentModel
)(struct ExpatIFace
*Self
, XML_Parser parser
, XML_Content
* model
);
93 void * APICALL (*XML_MemMalloc
)(struct ExpatIFace
*Self
, XML_Parser parser
, size_t size
);
94 void * APICALL (*XML_MemRealloc
)(struct ExpatIFace
*Self
, XML_Parser parser
, void * ptr
, size_t size
);
95 void APICALL (*XML_MemFree
)(struct ExpatIFace
*Self
, XML_Parser parser
, void * ptr
);
98 #endif /* EXPAT_INTERFACE_DEF_H */