Bump to libxml2 2.9.4
[platform/upstream/libxml2.git] / os400 / libxmlrpg / SAX2.rpgle
1       * Summary: SAX2 parser interface used to build the DOM tree
2       * Description: those are the default SAX2 interfaces used by
3       *              the library when building DOM tree.
4       *
5       * Copy: See Copyright for the status of this software.
6       *
7       * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
8
9       /if not defined(XML_SAX2_H__)
10       /define XML_SAX2_H__
11
12       /include "libxmlrpg/xmlversion"
13       /include "libxmlrpg/xmlTypesC"
14       /include "libxmlrpg/parser"
15       /include "libxmlrpg/xlink"
16
17      d xmlSAX2GetPublicId...
18      d                 pr              *   extproc('xmlSAX2getPublicId')        const xmlChar *
19      d  ctx                            *   value                                void *
20
21      d xmlSAX2GetSystemId...
22      d                 pr              *   extproc('xmlSAX2getSystemId')        const xmlChar *
23      d  ctx                            *   value                                void *
24
25      d xmlSAX2SetDocumentLocator...
26      d                 pr                  extproc('xmlSAX2SetDocumentLocator')
27      d  ctx                            *   value                                void *
28      d  loc                                value like(xmlSAXLocatorPtr)
29
30      d xmlSAX2GetLineNumber...
31      d                 pr                  extproc('xmlSAX2GetLineNumber')
32      d                                     like(xmlCint)
33      d  ctx                            *   value                                void *
34
35      d xmlSAX2GetColumnNumber...
36      d                 pr                  extproc('xmlSAX2GetColumnNumber')
37      d                                     like(xmlCint)
38      d  ctx                            *   value                                void *
39
40      d xmlSAX2IsStandalone...
41      d                 pr                  extproc('xmlSAX2IsStandalone')
42      d                                     like(xmlCint)
43      d  ctx                            *   value                                void *
44
45      d xmlSAX2HasInternalSubset...
46      d                 pr                  extproc('xmlSAX2HasInternalSubset')
47      d                                     like(xmlCint)
48      d  ctx                            *   value                                void *
49
50      d xmlSAX2HasExternalSubset...
51      d                 pr                  extproc('xmlSAX2HasExternalSubset')
52      d                                     like(xmlCint)
53      d  ctx                            *   value                                void *
54
55      d xmlSAX2InternalSubset...
56      d                 pr                  extproc('xmlSAX2InternalSubset')
57      d  ctx                            *   value                                void *
58      d  name                           *   value options(*string)               const xmlChar *
59      d  ExternalID                     *   value options(*string)               const xmlChar *
60      d  SystemID                       *   value options(*string)               const xmlChar *
61
62      d xmlSAX2ExternalSubset...
63      d                 pr                  extproc('xmlSAX2ExternalSubset')
64      d  ctx                            *   value                                void *
65      d  name                           *   value options(*string)               const xmlChar *
66      d  ExternalID                     *   value options(*string)               const xmlChar *
67      d  SystemID                       *   value options(*string)               const xmlChar *
68
69      d xmlSAX2GetEntity...
70      d                 pr                  extproc('xmlSAX2GetEntity')
71      d                                     like(xmlEntityPtr)
72      d  ctx                            *   value                                void *
73      d  name                           *   value options(*string)               const xmlChar *
74
75      d xmlSAX2GetParameterEntity...
76      d                 pr                  extproc('xmlSAX2GetParameterEntity')
77      d                                     like(xmlEntityPtr)
78      d  ctx                            *   value                                void *
79      d  name                           *   value options(*string)               const xmlChar *
80
81      d xmlSAX2ResolveEntity...
82      d                 pr                  extproc('xmlSAX2ResolveEntity')
83      d                                     like(xmlParserInputPtr)
84      d  ctx                            *   value                                void *
85      d  publicId                       *   value options(*string)               const xmlChar *
86      d  systemId                       *   value options(*string)               const xmlChar *
87
88      d xmlSAX2EntityDecl...
89      d                 pr                  extproc('xmlSAX2EntityDecl')
90      d  ctx                            *   value                                void *
91      d  name                           *   value options(*string)               const xmlChar *
92      d  type                               value like(xmlCint)
93      d  publicId                       *   value options(*string)               const xmlChar *
94      d  systemId                       *   value options(*string)               const xmlChar *
95      d  content                        *   value options(*string)               xmlChar *
96
97      d xmlSAX2AttributeDecl...
98      d                 pr                  extproc('xmlSAX2AttributeDecl')
99      d  ctx                            *   value                                void *
100      d  elem                           *   value options(*string)               const xmlChar *
101      d  fullname                       *   value options(*string)               const xmlChar *
102      d  type                               value like(xmlCint)
103      d  def                                value like(xmlCint)
104      d  defaultValue                   *   value options(*string)               const xmlChar *
105      d  tree                               value like(xmlEnumerationPtr)
106
107      d xmlSAX2ElementDecl...
108      d                 pr                  extproc('xmlSAX2ElementDecl')
109      d  ctx                            *   value                                void *
110      d  name                           *   value options(*string)               const xmlChar *
111      d  type                               value like(xmlCint)
112      d  content                            value like(xmlElementContentPtr)
113
114      d xmlSAX2NotationDecl...
115      d                 pr                  extproc('xmlSAX2NotationDecl')
116      d  ctx                            *   value                                void *
117      d  name                           *   value options(*string)               const xmlChar *
118      d  publicId                       *   value options(*string)               const xmlChar *
119      d  systemId                       *   value options(*string)               const xmlChar *
120
121      d xmlSAX2UnparsedEntityDecl...
122      d                 pr                  extproc('xmlSAX2UnparsedEntityDecl')
123      d  ctx                            *   value                                void *
124      d  name                           *   value options(*string)               const xmlChar *
125      d  publicId                       *   value options(*string)               const xmlChar *
126      d  systemId                       *   value options(*string)               const xmlChar *
127      d  notationName                   *   value options(*string)               xmlChar *
128
129      d xmlSAX2StartDocument...
130      d                 pr                  extproc('xmlSAX2StartDocument')
131      d  ctx                            *   value                                void *
132
133      d xmlSAX2EndDocument...
134      d                 pr                  extproc('xmlSAX2EndDocument')
135      d  ctx                            *   value                                void *
136
137       /undefine XML_TESTVAL
138       /if defined(LIBXML_SAX1_ENABLED)
139       /define XML_TESTVAL
140       /elseif defined(LIBXML_HTML_ENABLED)
141       /define XML_TESTVAL
142       /elseif defined(LIBXML_WRITER_ENABLED)
143       /define XML_TESTVAL
144       /elseif defined(LIBXML_DOCB_ENABLED)
145       /endif
146       /if defined(XML_TESTVAL)
147      d xmlSAX2StartElement...
148      d                 pr                  extproc('xmlSAX2StartElement')
149      d  ctx                            *   value                                void *
150      d  fullname                       *   value options(*string)               const xmlChar *
151      d  atts                           *                                        const xmlChar *(*)
152
153      d xmlSAX2EndElement...
154      d                 pr                  extproc('xmlSAX2EndElement')
155      d  ctx                            *   value                                void *
156      d  name                           *   value options(*string)               const xmlChar *
157
158       /undefine XML_TESTVAL
159       /endif
160
161      d xmlSAX2StartElementNs...
162      d                 pr                  extproc('xmlSAX2StartElementNs')
163      d  ctx                            *   value                                void *
164      d  localname                      *   value options(*string)               const xmlChar *
165      d  prefix                         *   value options(*string)               const xmlChar *
166      d  URI                            *   value options(*string)               const xmlChar *
167      d  nb_namespaces                      value like(xmlCint)
168      d  namespaces                     *   value                                const xmlChar *(*)
169      d  nb_attributes                      value like(xmlCint)
170      d  nb_defaulted                       value like(xmlCint)
171      d  attributes                     *                                        const xmlChar *(*)
172
173      d xmlSAX2EndElementNs...
174      d                 pr                  extproc('xmlSAX2EndElementNs')
175      d  ctx                            *   value                                void *
176      d  localname                      *   value options(*string)               const xmlChar *
177      d  prefix                         *   value options(*string)               const xmlChar *
178      d  URI                            *   value options(*string)               const xmlChar *
179
180      d xmlSAX2Reference...
181      d                 pr                  extproc('xmlSAX2Reference')
182      d  ctx                            *   value                                void *
183      d  name                           *   value options(*string)               const xmlChar *
184
185      d xmlSAX2Characters...
186      d                 pr                  extproc('xmlSAX2Characters')
187      d  ctx                            *   value                                void *
188      d  ch                             *   value options(*string)               const xmlChar *
189      d  len                                value like(xmlCint)
190
191      d xmlSAX2IgnorableWhitespace...
192      d                 pr                  extproc('xmlSAX2IgnorableWhitespace')
193      d  ctx                            *   value                                void *
194      d  ch                             *   value options(*string)               const xmlChar *
195      d  len                                value like(xmlCint)
196
197      d xmlSAX2ProcessingInstruction...
198      d                 pr                  extproc(
199      d                                      'xmlSAX2ProcessingInstruction')
200      d  ctx                            *   value                                void *
201      d  target                         *   value options(*string)               const xmlChar *
202      d  data                           *   value options(*string)               const xmlChar *
203
204      d xmlSAX2Comment...
205      d                 pr                  extproc('xmlSAX2Comment')
206      d  ctx                            *   value                                void *
207      d  value                          *   value options(*string)               const xmlChar *
208
209      d xmlSAX2CDataBlock...
210      d                 pr                  extproc('xmlSAX2CDataBlock')
211      d  ctx                            *   value                                void *
212      d  value                          *   value options(*string)               const xmlChar *
213      d  len                                value like(xmlCint)
214
215       /if defined(LIBXML_SAX1_ENABLED)
216      d xmlSAXDefaultVersion...
217      d                 pr                  extproc('xmlSAXDefaultVersion')
218      d                                     like(xmlCint)
219      d  version                            value like(xmlCint)
220       /endif                                                                    LIBXML_SAX1_ENABLED
221
222      d xmlSAXVersion   pr                  extproc('xmlSAXVersion')
223      d                                     like(xmlCint)
224      d  hdlr                               likeds(xmlSAXHandler)
225      d  version                            value like(xmlCint)
226
227      d xmlSAX2InitDefaultSAXHandler...
228      d                 pr                  extproc(
229      d                                      'xmlSAX2InitDefaultSAXHandler')
230      d  hdlr                               likeds(xmlSAXHandler)
231      d  warning                            value like(xmlCint)
232
233       /if defined(LIBXML_HTML_ENABLED)
234      d xmlSAX2InitHtmlDefaultSAXHandler...
235      d                 pr                  extproc(
236      d                                      'xmlSAX2InitHtmlDefaultSAXHandler')
237      d  hdlr                               likeds(xmlSAXHandler)
238
239      d htmlDefaultSAXHandlerInit...
240      d                 pr                  extproc('htmlDefaultSAXHandlerInit')
241       /endif
242
243       /if defined(LIBXML_DOCB_ENABLED)
244      d xmlSAX2InitDocbDefaultSAXHandler...
245      d                 pr                  extproc(
246      d                                      'xmlSAX2InitDocbDefaultSAXHandler')
247      d  hdlr                               likeds(xmlSAXHandler)
248
249      d docbDefaultSAXHandlerInit...
250      d                 pr                  extproc('docbDefaultSAXHandlerInit')
251       /endif
252
253      d xmlDefaultSAXHandlerInit...
254      d                 pr                  extproc('xmlDefaultSAXHandlerInit')
255
256       /endif                                                                    XML_SAX2_H__