Imported Upstream version 2.9.4
[platform/upstream/libxml2.git] / os400 / libxmlrpg / globals.rpgle
1       * Summary: interface for all global variables of the library
2       * Description: all the global variables and thread handling for
3       *              those variables is handled by this module.
4       *
5       * The bottom of this file is automatically generated by build_glob.py
6       * based on the description file global.data
7       *
8       * Copy: See Copyright for the status of this software.
9       *
10       * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
11
12       /if not defined(XML_GLOBALS_H)
13       /define XML_GLOBALS_H
14
15       /include "libxmlrpg/xmlversion"
16       /include "libxmlrpg/xmlTypesC"
17       /include "libxmlrpg/parser"
18       /include "libxmlrpg/xmlerror"
19       /include "libxmlrpg/SAX"
20       /include "libxmlrpg/SAX2"
21       /include "libxmlrpg/xmlmemory"
22
23      d xmlInitGlobals  pr                  extproc('xmlInitGlobals')
24
25      d xmlCleanupGlobals...
26      d                 pr                  extproc('xmlCleanupGlobals')
27
28       * xmlParserInputBufferCreateFilenameFunc:
29       * @URI: the URI to read from
30       * @enc: the requested source encoding
31       *
32       * Signature for the function doing the lookup for a suitable input method
33       * corresponding to an URI.
34       *
35       * Returns the new xmlParserInputBufferPtr in case of success or NULL if no
36       *         method was found.
37
38      d xmlParserInputBufferCreateFilenameFunc...
39      d                 s               *   based(######typedef######)
40      d                                     procptr
41
42       * xmlOutputBufferCreateFilenameFunc:
43       * @URI: the URI to write to
44       * @enc: the requested target encoding
45       *
46       * Signature for the function doing the lookup for a suitable output method
47       * corresponding to an URI.
48       *
49       * Returns the new xmlOutputBufferPtr in case of success or NULL if no
50       *         method was found.
51
52      d xmlOutputBufferCreateFilenameFunc...
53      d                 s               *   based(######typedef######)
54      d                                     procptr
55
56      d xmlParserInputBufferCreateFilenameDefault...
57      d                 pr                  extproc('xmlParserInputBufferCreate+
58      d                                     FilenameDefault')
59      d                                     like(xmlParserInputBuffer...
60      d                                     CreateFilenameFunc)
61      d func                                value like(xmlParserInputBuffer...
62      d                                     CreateFilenameFunc)
63
64      d xmlOutputBufferCreateFilenameDefault...
65      d                 pr                  extproc('xmlOutputBufferCreate+
66      d                                     FilenameDefault')
67      d                                     like(xmlOutputBuffer...
68      d                                     CreateFilenameFunc)
69      d func                                value like(xmlOutputBuffer...
70      d                                     CreateFilenameFunc)
71
72       * xmlRegisterNodeFunc:
73       * @node: the current node
74       *
75       * Signature for the registration callback of a created node
76
77      d xmlRegisterNodeFunc...
78      d                 s               *   based(######typedef######)
79      d                                     procptr
80
81       * xmlDeregisterNodeFunc:
82       * @node: the current node
83       *
84       * Signature for the deregistration callback of a discarded node
85
86      d xmlDeregisterNodeFunc...
87      d                 s               *   based(######typedef######)
88      d                                     procptr
89
90      d xmlGlobalStatePtr...
91      d                 s               *   based(######typedef######)
92
93      d xmlGlobalState  ds                  based(xmlGlobalStatePtr)
94      d                                     align qualified
95      d  xmlParserVersion...
96      d                                 *                                        const char *
97      d  xmlDefaultSAXLocator...
98      d                                     likeds(xmlSAXLocator)
99      d  xmlDefaultSAXHandler...
100      d                                     likeds(xmlSAXHandlerV1)
101      d  docbDefaultSAXHandler...
102      d                                     likeds(xmlSAXHandlerV1)
103      d  htmlDefaultSAXHandler...
104      d                                     likeds(xmlSAXHandlerV1)
105      d  xmlFree                            like(xmlFreeFunc)
106      d  xmlMalloc                          like(xmlMallocFunc)
107      d  xmlMemStrdup                       like(xmlStrdupFunc)
108      d  xmlRealloc                         like(xmlReallocFunc)
109      d  xmlGenericError...
110      d                                     like(xmlGenericErrorFunc)
111      d  xmlStructuredError...
112      d                                     like(xmlStructuredErrorFunc)
113      d  xmlGenericErrorContext...
114      d                                 *                                        void *
115      d  oldXMLWDcompatibility...
116      d                                     like(xmlCint)
117      d  xmlBufferAllocScheme...
118      d                                     like(xmlBufferAllocationScheme)
119      d  xmlDefaultBufferSize...
120      d                                     like(xmlCint)
121      d  xmlSubstituteEntitiesDefaultValue...
122      d                                     like(xmlCint)
123      d  xmlDoValidityCheckingDefaultValue...
124      d                                     like(xmlCint)
125      d  xmlGetWarningsDefaultValue...
126      d                                     like(xmlCint)
127      d  xmlKeepBlanksDefaultValue...
128      d                                     like(xmlCint)
129      d  xmlLineNumbersDefaultValue...
130      d                                     like(xmlCint)
131      d  xmlLoadExtDtdDefaultValue...
132      d                                     like(xmlCint)
133      d  xmlParserDebugEntities...
134      d                                     like(xmlCint)
135      d  xmlPedanticParserDefaultValue...
136      d                                     like(xmlCint)
137      d  xmlSaveNoEmptyTags...
138      d                                     like(xmlCint)
139      d  xmlIndentTreeOutput...
140      d                                     like(xmlCint)
141      d  xmlTreeIndentString...
142      d                                 *                                        const char *
143      d  xmlRegisterNodeDefaultValue...
144      d                                     like(xmlRegisterNodeFunc)
145      d  xmlDeregisterNodeDefaultValue...
146      d                                     like(xmlDeregisterNodeFunc)
147      d  xmlMallocAtomic...
148      d                                     like(xmlMallocFunc)
149      d  xmlLastError                       likeds(xmlError)
150      d  xmlParserInputBufferCreateFilenameValue...
151      d                                     like(xmlParserInputBuffer...
152      d                                     CreateFilenameFunc)
153      d  xmlOutputBufferCreateFilenameValue...
154      d                                     like(xmlOutputBuffer...
155      d                                     CreateFilenameFunc)
156      d  xmlStructuredErrorContext...
157      d                                 *                                        void *
158
159       /include "libxmlrpg/threads"
160
161      d xmlInitializeGlobalState...
162      d                 pr                  extproc('xmlInitializeGlobalState')
163      d qs                                  value like(xmlGlobalStatePtr)
164
165      d xmlThrDefSetGenericErrorFunc...
166      d                 pr                  extproc(
167      d                                      'xmlThrDefSetGenericErrorFunc')
168      d ctx                             *   value                                void *
169      d handler                             value like(xmlGenericErrorFunc)
170
171      d xmlThrDefSetStructuredErrorFunc...
172      d                 pr                  extproc(
173      d                                      'xmlThrDefSetStructuredErrorFunc')
174      d ctx                             *   value                                void *
175      d handler                             value like(xmlStructuredErrorFunc)
176
177      d xmlRegisterNodeDefault...
178      d                 pr                  extproc('xmlRegisterNodeDefault')
179      d                                     like(xmlRegisterNodeFunc)
180      d func                                value like(xmlRegisterNodeFunc)
181
182      d xmlThrDefRegisterNodeDefault...
183      d                 pr                  extproc(
184      d                                      'xmlThrDefRegisterNodeDefault')
185      d                                     like(xmlRegisterNodeFunc)
186      d func                                value like(xmlRegisterNodeFunc)
187
188      d xmlDeregisterNodeDefault...
189      d                 pr                  extproc('xmlDeregisterNodeDefault')
190      d                                     like(xmlDeregisterNodeFunc)
191      d func                                value like(xmlDeregisterNodeFunc)
192
193      d xmlThrDefDeregisterNodeDefault...
194      d                 pr                  extproc(
195      d                                      'xmlThrDefDeregisterNodeDefault')
196      d                                     like(xmlDeregisterNodeFunc)
197      d func                                value like(xmlDeregisterNodeFunc)
198
199      d xmlThrDefOutputBufferCreateFilenameDefault...
200      d                 pr                  extproc('xmlThrDefOutputBuffer+
201      d                                     CreateFilenameDefault')
202      d                                     like(xmlOutputBuffer...
203      d                                     CreateFilenameFunc)
204      d func                                value like(xmlOutputBuffer...
205      d                                     CreateFilenameFunc)
206
207      d xmlThrDefParserInputBufferCreateFilenameDefault...
208      d                 pr                  extproc('xmlThrDefParserInputBuffer+
209      d                                     CreateFilenameDefault')
210      d                                     like(xmlParserInputBuffer...
211      d                                     CreateFilenameFunc)
212      d func                                value like(xmlParserInputBuffer...
213      d                                     CreateFilenameFunc)
214
215       /if defined(LIBXML_DOCB_ENABLED)
216      d get_docbDefaultSAXHandler...
217      d                 pr                  extproc(
218      d                                       '__get_docbDefaultSAXHandler')
219      d                                     likeds(xmlSAXHandlerV1)
220
221      d set_docbDefaultSAXHandler...
222      d                 pr                  extproc(
223      d                                       '__set_docbDefaultSAXHandler')
224      d  value                              value likeds(xmlSAXHandlerV1)
225       /endif
226
227       /if defined(LIBXML_HTML_ENABLED)
228      d get_htmlDefaultSAXHandler...
229      d                 pr                  extproc(
230      d                                       '__get_htmlDefaultSAXHandler')
231      d                                     likeds(xmlSAXHandlerV1)
232
233      d set_htmlDefaultSAXHandler...
234      d                 pr                  extproc(
235      d                                       '__set_htmlDefaultSAXHandler')
236      d  value                              value likeds(xmlSAXHandlerV1)
237       /endif
238
239      d get_xmlLastError...
240      d                 pr                  extproc('__get_xmlLastError')
241      d                                     likeds(xmlError)
242
243      d set_xmlLastError...
244      d                 pr                  extproc('__set_xmlLastError')
245      d  value                              value likeds(xmlError)
246
247      d get_oldXMLWDcompatibility...
248      d                 pr                  extproc(
249      d                                       '__get_oldXMLWDcompatibility')
250      d                                     like(xmlCint)
251
252      d set_oldXMLWDcompatibility...
253      d                 pr                  extproc(
254      d                                       '__set_oldXMLWDcompatibility')
255      d  value                              value like(xmlCint)
256
257      d get_xmlBufferAllocScheme...
258      d                 pr                  extproc('__get_xmlBufferAllocScheme')
259      d                                     like(xmlBufferAllocationScheme)
260
261      d set_xmlBufferAllocScheme...
262      d                 pr                  extproc('__set_xmlBufferAllocScheme')
263      d  value                              value like(xmlBufferAllocationScheme)
264
265      d xmlThrDefBufferAllocScheme...
266      d                 pr                  extproc('xmlThrDefBufferAllocScheme')
267      d                                     like(xmlBufferAllocationScheme)
268      d  v                                  value like(xmlBufferAllocationScheme)
269
270      d get_xmlDefaultBufferSize...
271      d                 pr                  extproc('__get_xmlDefaultBufferSize')
272      d                                     like(xmlCint)
273
274      d set_xmlDefaultBufferSize...
275      d                 pr                  extproc('__set_xmlDefaultBufferSize')
276      d  value                              value like(xmlCint)
277
278      d xmlThrDefDefaultBufferSize...
279      d                 pr                  extproc('xmlThrDefDefaultBufferSize')
280      d                                     like(xmlCint)
281      d  v                                  value like(xmlCint)
282
283      d get_xmlDefaultSAXHandler...
284      d                 pr                  extproc('__get_xmlDefaultSAXHandler')
285      d                                     likeds(xmlSAXHandlerV1)
286
287      d set_xmlDefaultSAXHandler...
288      d                 pr                  extproc('__set_xmlDefaultSAXHandler')
289      d  value                              value likeds(xmlSAXHandlerV1)
290
291      d get_xmlDefaultSAXLocator...
292      d                 pr                  extproc('__get_xmlDefaultSAXLocator')
293      d                                     likeds(xmlSAXLocator)
294
295      d set_xmlDefaultSAXLocator...
296      d                 pr                  extproc('__set_xmlDefaultSAXLocator')
297      d  value                              value likeds(xmlSAXLocator)
298
299      d get_xmlDoValidityCheckingDefaultValue...
300      d                 pr                  extproc('__get_xmlDoValidity+
301      d                                       CheckingDefaultValue')
302      d                                     like(xmlCint)
303
304      d set_xmlDoValidityCheckingDefaultValue...
305      d                 pr                  extproc('__set_xmlDoValidity+
306      d                                       CheckingDefaultValue')
307      d  value                              value like(xmlCint)
308
309      d xmlThrDefDoValidityCheckingDefaultValue...
310      d                 pr                  extproc('xmlThrDefDoValidity+
311      d                                       CheckingDefaultValue')
312      d                                     like(xmlCint)
313      d  v                                  value like(xmlCint)
314
315      d get_xmlGenericError...
316      d                 pr                  extproc('__get_xmlGenericError')
317      d                                     like(xmlGenericErrorFunc)
318
319      d set_xmlGenericError...
320      d                 pr                  extproc('__set_xmlGenericError')
321      d  func                               value like(xmlGenericErrorFunc)
322
323      d get_xmlStructuredError...
324      d                 pr                  extproc('__get_xmlStructuredError')
325      d                                     like(xmlStructuredErrorFunc)
326
327      d set_xmlStructuredError...
328      d                 pr                  extproc('__set_xmlStructuredError')
329      d  func                               value like(xmlStructuredErrorFunc)
330
331      d xmlStructuredError...
332      d                 pr                  extproc('__call_xmlStructuredError')
333      d  userData                       *   value options(*string)               void *
334      d  error                              value like(xmlErrorPtr)
335
336      d get_xmlGenericErrorContext...
337      d                 pr                  extproc(
338      d                                       '__get_xmlGenericErrorContext')
339      d                                 *                                        void *
340
341      d set_xmlGenericErrorContext...
342      d                 pr                  extproc(
343      d                                       '__set_xmlGenericErrorContext')
344      d  value                          *   value options(*string)               void *
345
346      d get_xmlStructuredErrorContext...
347      d                 pr                  extproc(
348      d                                       '__get_xmlStructuredErrorContext')
349      d                                 *                                        void *
350
351      d set_xmlStructuredErrorContext...
352      d                 pr                  extproc(
353      d                                       '__set_xmlStructuredErrorContext')
354      d  value                          *   value options(*string)               void *
355
356      d get_xmlGetWarningsDefaultValue...
357      d                 pr                  extproc(
358      d                                       '__get_xmlGetWarningsDefaultValue')
359      d                                     like(xmlCint)
360
361      d set_xmlGetWarningsDefaultValue...
362      d                 pr                  extproc(
363      d                                       '__set_xmlGetWarningsDefaultValue')
364      d  value                              value like(xmlCint)
365
366      d xmlThrDefGetWarningsDefaultValue...
367      d                 pr                  extproc(
368      d                                       'xmlThrDefGetWarningsDefaultValue')
369      d                                     like(xmlCint)
370      d  v                                  value like(xmlCint)
371
372      d get_xmlIndentTreeOutput...
373      d                 pr                  extproc('__get_xmlIndentTreeOutput')
374      d                                     like(xmlCint)
375
376      d set_xmlIndentTreeOutput...
377      d                 pr                  extproc('__set_xmlIndentTreeOutput')
378      d  value                              value like(xmlCint)
379
380      d xmlThrDefIndentTreeOutput...
381      d                 pr                  extproc('xmlThrDefIndentTreeOutput')
382      d                                     like(xmlCint)
383      d  v                                  value like(xmlCint)
384
385      d get_xmlTreeIndentString...
386      d                 pr              *   extproc('__get_xmlTreeIndentString') const char *
387
388      d set_xmlTreeIndentString...
389      d                 pr                  extproc('__set_xmlTreeIndentString')
390      d  value                          *   value options(*string)               const char *
391
392      d xmlThrDefTreeIndentString...
393      d                 pr              *   extproc('xmlThrDefTreeIndentString') const char *
394      d  v                              *   value options(*string)               const char *
395
396      d get_xmlKeepBlanksDefaultValue...
397      d                 pr                  extproc(
398      d                                       '__get_xmlKeepBlanksDefaultValue')
399      d                                     like(xmlCint)
400
401      d set_xmlKeepBlanksDefaultValue...
402      d                 pr                  extproc(
403      d                                       '__set_xmlKeepBlanksDefaultValue')
404      d  value                              value like(xmlCint)
405
406      d xmlThrDefKeepBlanksDefaultValue...
407      d                 pr                  extproc(
408      d                                       'xmlThrDefKeepBlanksDefaultValue')
409      d                                     like(xmlCint)
410      d  v                                  value like(xmlCint)
411
412      d get_xmlLineNumbersDefaultValue...
413      d                 pr                  extproc(
414      d                                       '__get_xmlLineNumbersDefaultValue')
415      d                                     like(xmlCint)
416
417      d set_xmlLineNumbersDefaultValue...
418      d                 pr                  extproc(
419      d                                       '__set_xmlLineNumbersDefaultValue')
420      d  value                              value like(xmlCint)
421
422      d xmlThrDefLineNumbersDefaultValue...
423      d                 pr                  extproc(
424      d                                       'xmlThrDefLineNumbersDefaultValue')
425      d                                     like(xmlCint)
426      d  v                                  value like(xmlCint)
427
428      d get_xmlLoadExtDtdDefaultValue...
429      d                 pr                  extproc(
430      d                                       '__get_xmlLoadExtDtdDefaultValue')
431      d                                     like(xmlCint)
432
433      d set_xmlLoadExtDtdDefaultValue...
434      d                 pr                  extproc(
435      d                                       '__set_xmlLoadExtDtdDefaultValue')
436      d  value                              value like(xmlCint)
437
438      d xmlThrDefLoadExtDtdDefaultValue...
439      d                 pr                  extproc(
440      d                                       'xmlThrDefLoadExtDtdDefaultValue')
441      d                                     like(xmlCint)
442      d  v                                  value like(xmlCint)
443
444      d get_xmlParserDebugEntities...
445      d                 pr                  extproc(
446      d                                       '__get_xmlParserDebugEntities')
447      d                                     like(xmlCint)
448
449      d set_xmlParserDebugEntities...
450      d                 pr                  extproc(
451      d                                       '__set_xmlParserDebugEntities')
452      d  value                              value like(xmlCint)
453
454      d xmlThrDefParserDebugEntities...
455      d                 pr                  extproc(
456      d                                       'xmlThrDefParserDebugEntities')
457      d                                     like(xmlCint)
458      d  v                                  value like(xmlCint)
459
460      d get_xmlParserVersion...
461      d                 pr              *   extproc('__get_xmlParserVersion')    const char *
462
463      d set_xmlParserVersion...
464      d                 pr                  extproc('__set_xmlParserVersion')
465      d  value                          *   value options(*string)               const char *
466
467      d get_xmlPedanticParserDefaultValue...
468      d                 pr                  extproc('__get_xmlPedantic+
469      d                                       ParserDefaultValue')
470      d                                     like(xmlCint)
471
472      d set_xmlPedanticParserDefaultValue...
473      d                 pr                  extproc('__set_xmlPedantic+
474      d                                       ParserDefaultValue')
475      d  value                              value like(xmlCint)
476
477      d xmlThrDefPedanticParserDefaultValue...
478      d                 pr                  extproc('xmlThrDefPedantic+
479      d                                       ParserDefaultValue')
480      d                                     like(xmlCint)
481      d  v                                  value like(xmlCint)
482
483      d get_xmlSaveNoEmptyTags...
484      d                 pr                  extproc('__get_xmlSaveNoEmptyTags')
485      d                                     like(xmlCint)
486
487      d set_xmlSaveNoEmptyTags...
488      d                 pr                  extproc('__set_xmlSaveNoEmptyTags')
489      d  value                              value like(xmlCint)
490
491      d xmlThrDefSaveNoEmptyTags...
492      d                 pr                  extproc('xmlThrDefSaveNoEmptyTags')
493      d                                     like(xmlCint)
494      d  v                                  value like(xmlCint)
495
496      d get_xmlSubstituteEntitiesDefaultValue...
497      d                 pr                  extproc('__get_xmlSubstitute+
498      d                                       EntitiesDefaultValue')
499      d                                     like(xmlCint)
500
501      d set_xmlSubstituteEntitiesDefaultValue...
502      d                 pr                  extproc('__set_xmlSubstitute+
503      d                                       EntitiesDefaultValue')
504      d  value                              value like(xmlCint)
505
506      d xmlThrDefSubstituteEntitiesDefaultValue...
507      d                 pr                  extproc('xmlThrDefSubstitute+
508      d                                       EntitiesDefaultValue')
509      d                                     like(xmlCint)
510      d  v                                  value like(xmlCint)
511
512      d get_xmlRegisterNodeDefaultValue...
513      d                 pr                  extproc('__get_xmlRegisterNode+
514      d                                       DefaultValue')
515      d                                     like(xmlRegisterNodeFunc)
516
517      d set_xmlRegisterNodeDefaultValue...
518      d                 pr                  extproc('__set_xmlRegisterNode+
519      d                                       DefaultValue')
520      d  value                              value like(xmlRegisterNodeFunc)
521
522      d xmlRegisterNodeDefaultValue...
523      d                 pr                  extproc('__call_xmlRegisterNode+
524      d                                       DefaultValue')
525      d  node                               value like(xmlNodePtr)
526
527      d get_xmlDeregisterNodeDefaultValue...
528      d                 pr                  extproc('__get_xmlDeregisterNode+
529      d                                       DefaultValue')
530      d                                     like(xmlDeregisterNodeFunc)
531
532      d set_xmlDeregisterNodeDefaultValue...
533      d                 pr                  extproc('__set_xmlDeregisterNode+
534      d                                       DefaultValue')
535      d  value                              value like(xmlDeregisterNodeFunc)
536
537      d xmlDeregisterNodeDefaultValue...
538      d                 pr                  extproc('__call_xmlDeregisterNode+
539      d                                       DefaultValue')
540      d  node                               value like(xmlNodePtr)
541
542      d get_xmlParserInputBufferCreateFilenameValue...
543      d                 pr                  extproc('__get_xmlParserInputBuffer+
544      d                                       CreateFilenameValue')
545      d                                     like(xmlParserInputBuffer...
546      d                                       CreateFilenameFunc)
547
548      d set_xmlParserInputBufferCreateFilenameValue...
549      d                 pr                  extproc('__set_xmlParserInputBuffer+
550      d                                       CreateFilenameValue')
551      d  value                              value like(xmlParserInputBuffer...
552      d                                       CreateFilenameFunc)
553
554      d xmlParserInputBufferCreateFilenameValue...
555      d                 pr                  extproc('__call_xmlParserInputBuffer+
556      d                                       CreateFilenameValue')
557      d                                     like(xmlParserInputBufferPtr)
558      d  URI                            *   value options(*string)               const char *
559      d  enc                                value like(xmlCharEncoding)
560
561      d get_xmlOutputBufferCreateFilenameValue...
562      d                 pr                  extproc('__get_xmlOutputBuffer+
563      d                                       CreateFilenameValue')
564      d                                     like(
565      d                                       xmlOutputBufferCreateFilenameFunc)
566
567      d set_xmlOutputBufferCreateFilenameValue...
568      d                 pr                  extproc('__set_xmlOutputBuffer+
569      d                                       CreateFilenameValue')
570      d  value                              value like(
571      d                                       xmlOutputBufferCreateFilenameFunc)
572
573      d xmlOutputBufferCreateFilenameValue...
574      d                 pr                  extproc('__call_xmlOutputBuffer+
575      d                                       CreateFilenameValue')
576      d                                     like(xmlOutputBufferPtr)
577      d  URI                            *   value options(*string)               const char *
578      d  encoder                            value like(xmlCharEncodingHandlerPtr)
579      d  compression                        value like(xmlCint)
580
581       /endif                                                                    XML_GLOBALS_H