Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / diskimage / include / amigaos / clib / expat_protos.h
blob3bd1868cc0c0b1fe67cb48b0ef102b2b0efedda7
1 #ifndef CLIB_EXPAT_PROTOS_H
2 #define CLIB_EXPAT_PROTOS_H
5 /*
6 ** $VER: expat_protos.h 1.0 (14.04.2010)
7 **
8 ** C prototypes. For use with 32 bit integers only.
9 **
10 ** Copyright © 2010
11 ** All Rights Reserved
14 #ifndef LIBRARIES_EXPAT_H
15 #include <libraries/expat.h>
16 #endif
18 XML_Parser XML_ParserCreate(const encodingName);
19 XML_Parser XML_ParserCreateNS(const encodingName, LONG nsSep);
20 XML_Parser XML_ParserCreate_MM(const encodingName, const memsuite, const nameSep);
21 XML_Parser XML_ExternalEntityParserCreate(LONG oldParser, const context, const encodingName);
22 void XML_ParserFree(LONG parser);
23 int XML_Parse(LONG parser, const char * s, LONG len, LONG isFinal);
24 int XML_ParseBuffer(LONG parser, LONG len, LONG isFinal);
25 void * XML_GetBuffer(LONG parser, LONG len);
26 void XML_SetStartElementHandler(LONG parser, LONG start);
27 void XML_SetEndElementHandler(LONG parser, LONG end);
28 void XML_SetElementHandler(LONG parser, LONG start, LONG end);
29 void XML_SetCharacterDataHandler(LONG parser, LONG handler);
30 void XML_SetProcessingInstructionHandler(LONG parser, LONG handler);
31 void XML_SetCommentHandler(LONG parser, LONG handler);
32 void XML_SetStartCdataSectionHandler(LONG parser, LONG start);
33 void XML_SetEndCdataSectionHandler(LONG parser, LONG end);
34 void XML_SetCdataSectionHandler(LONG parser, LONG start, LONG end);
35 void XML_SetDefaultHandler(LONG parser, LONG handler);
36 void XML_SetDefaultHandlerExpand(LONG parser, LONG handler);
37 void XML_SetExternalEntityRefHandler(LONG parser, LONG handler);
38 void XML_SetExternalEntityRefHandlerArg(LONG parser, void * arg);
39 void XML_SetUnknownEncodingHandler(LONG parser, LONG handler, void * data);
40 void XML_SetStartNamespaceDeclHandler(LONG parser, LONG start);
41 void XML_SetEndNamespaceDeclHandler(LONG parser, LONG end);
42 void XML_SetNamespaceDeclHandler(LONG parser, LONG start, LONG end);
43 void XML_SetXmlDeclHandler(LONG parser, LONG handler);
44 void XML_SetStartDoctypeDeclHandler(LONG parser, LONG start);
45 void XML_SetEndDoctypeDeclHandler(LONG parser, LONG end);
46 void XML_SetDoctypeDeclHandler(LONG parser, LONG start, LONG end);
47 void XML_SetElementDeclHandler(LONG parser, LONG eldecl);
48 void XML_SetAttlistDeclHandler(LONG parser, LONG attdecl);
49 void XML_SetEntityDeclHandler(LONG parser, LONG handler);
50 void XML_SetUnparsedEntityDeclHandler(LONG parser, LONG handler);
51 void XML_SetNotationDeclHandler(LONG parser, LONG handler);
52 void XML_SetNotStandaloneHandler(LONG parser, LONG handler);
53 int XML_GetErrorCode(LONG parser);
54 const XML_LChar * XML_ErrorString(LONG code);
55 long XML_GetCurrentByteIndex(LONG parser);
56 int XML_GetCurrentLineNumber(LONG parser);
57 int XML_GetCurrentColumnNumber(LONG parser);
58 int XML_GetCurrentByteCount(LONG parser);
59 const char * XML_GetInputContext(LONG parser, int * offset, int * size);
60 void XML_SetUserData(LONG parser, void * p);
61 void XML_DefaultCurrent(LONG parser);
62 void XML_UseParserAsHandlerArg(LONG parser);
63 int XML_SetBase(LONG parser, const p);
64 const XML_Char * XML_GetBase(LONG parser);
65 int XML_GetSpecifiedAttributeCount(LONG parser);
66 int XML_GetIdAttributeIndex(LONG parser);
67 int XML_SetEncoding(LONG parser, const encodingName);
68 int XML_SetParamEntityParsing(LONG parser, LONG peParsing);
69 void XML_SetReturnNSTriplet(LONG parser, LONG do_nst);
70 const XML_LChar * XML_ExpatVersion(void);
71 XML_Expat_Version XML_ExpatVersionInfo(void);
72 XML_Bool XML_ParserReset(LONG parser, const encodingName);
73 void XML_SetSkippedEntityHandler(LONG parser, LONG handler);
74 int XML_UseForeignDTD(LONG parser, LONG useDTD);
75 const XML_Feature * XML_GetFeatureList(void);
76 int XML_StopParser(LONG parser, LONG resumable);
77 int XML_ResumeParser(LONG parser);
78 void XML_GetParsingStatus(LONG parser, XML_ParsingStatus * status);
79 void XML_FreeContentModel(LONG parser, XML_Content * model);
80 void * XML_MemMalloc(LONG parser, ULONG size);
81 void * XML_MemRealloc(LONG parser, void * ptr, ULONG size);
82 void XML_MemFree(LONG parser, void * ptr);
84 #endif /* CLIB_EXPAT_PROTOS_H */