VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/os400/rpgsupport.h@ 102315

最後變更 在這個檔案從102315是 95312,由 vboxsync 提交於 2 年 前

libs/{curl,libxml2}: OSE export fixes, bugref:8515

  • 屬性 svn:eol-style 設為 native
檔案大小: 6.6 KB
 
1/**
2*** Additional declarations for ILE/RPG support.
3***
4*** See Copyright for the status of this software.
5***
6*** Author: Patrick Monnerat <[email protected]>, DATASPHERE S.A.
7**/
8
9#ifndef __RPGSUPPORT_H__
10#define __RPGSUPPORT_H__
11
12#include <sys/types.h>
13
14#include <libxml/xmlmemory.h>
15#include <libxml/xpath.h>
16#include "libxml/HTMLparser.h"
17
18
19XMLPUBFUN xmlFreeFunc __get_xmlFree(void);
20XMLPUBFUN void __set_xmlFree(xmlFreeFunc freefunc);
21XMLPUBFUN void __call_xmlFree(void * mem);
22XMLPUBFUN xmlMallocFunc __get_xmlMalloc(void);
23XMLPUBFUN void __set_xmlMalloc(xmlMallocFunc allocfunc);
24XMLPUBFUN void * __call_xmlMalloc(size_t size);
25XMLPUBFUN xmlMallocFunc __get_xmlMallocAtomic(void);
26XMLPUBFUN void __set_xmlMallocAtomic(xmlMallocFunc allocfunc);
27XMLPUBFUN void * __call_xmlMallocAtomic(size_t size);
28XMLPUBFUN xmlReallocFunc __get_xmlRealloc(void);
29XMLPUBFUN void __set_xmlRealloc(xmlReallocFunc reallocfunc);
30XMLPUBFUN void * __call_xmlRealloc(void * mem, size_t size);
31XMLPUBFUN xmlStrdupFunc __get_xmlMemStrdup(void);
32XMLPUBFUN void __set_xmlMemStrdup(xmlStrdupFunc strdupfunc);
33XMLPUBFUN char * __call_xmlMemStrdup(const char * str);
34
35#ifdef LIBXML_DOCB_ENABLED
36XMLPUBFUN xmlSAXHandlerV1 __get_docbDefaultSAXHandler(void);
37XMLPUBFUN void __set_docbDefaultSAXHandler(xmlSAXHandlerV1 hdlr);
38#endif
39
40#ifdef LIBXML_HTML_ENABLED
41XMLPUBFUN xmlSAXHandlerV1 __get_htmlDefaultSAXHandler(void);
42XMLPUBFUN void __set_htmlDefaultSAXHandler(xmlSAXHandlerV1 hdlr);
43#endif
44
45XMLPUBFUN xmlError __get_xmlLastError(void);
46XMLPUBFUN void __set_xmlLastError(xmlError err);
47
48XMLPUBFUN int __get_oldXMLWDcompatibility(void);
49XMLPUBFUN void __set_oldXMLWDcompatibility(int val);
50
51XMLPUBFUN xmlBufferAllocationScheme __get_xmlBufferAllocScheme(void);
52XMLPUBFUN void __set_xmlBufferAllocScheme(xmlBufferAllocationScheme val);
53
54XMLPUBFUN int __get_xmlDefaultBufferSize(void);
55XMLPUBFUN void __set_xmlDefaultBufferSize(int val);
56
57XMLPUBFUN xmlSAXHandlerV1 __get_xmlDefaultSAXHandler(void);
58XMLPUBFUN void __set_xmlDefaultSAXHandler(xmlSAXHandlerV1 val);
59
60XMLPUBFUN xmlSAXLocator __get_xmlDefaultSAXLocator(void);
61XMLPUBFUN void __set_xmlDefaultSAXLocator(xmlSAXLocator val);
62
63XMLPUBFUN int __get_xmlDoValidityCheckingDefaultValue(void);
64XMLPUBFUN void __set_xmlDoValidityCheckingDefaultValue(int val);
65
66XMLPUBFUN xmlGenericErrorFunc __get_xmlGenericError(void);
67XMLPUBFUN void __set_xmlGenericError(xmlGenericErrorFunc val);
68
69XMLPUBFUN xmlStructuredErrorFunc __get_xmlStructuredError(void);
70XMLPUBFUN void __set_xmlStructuredError(xmlStructuredErrorFunc val);
71XMLPUBFUN void __call_xmlStructuredError(void *userData, xmlErrorPtr error);
72
73XMLPUBFUN void * __get_xmlGenericErrorContext(void);
74XMLPUBFUN void __set_xmlGenericErrorContext(void * val);
75
76XMLPUBFUN void * __get_xmlStructuredErrorContext(void);
77XMLPUBFUN void __set_xmlStructuredErrorContext(void * val);
78
79XMLPUBFUN int __get_xmlGetWarningsDefaultValue(void);
80XMLPUBFUN void __set_xmlGetWarningsDefaultValue(int val);
81
82XMLPUBFUN int __get_xmlIndentTreeOutput(void);
83XMLPUBFUN void __set_xmlIndentTreeOutput(int val);
84
85XMLPUBFUN const char * __get_xmlTreeIndentString(void);
86XMLPUBFUN void __set_xmlTreeIndentString(const char * val);
87
88XMLPUBFUN int __get_xmlKeepBlanksDefaultValue(void);
89XMLPUBFUN void __set_xmlKeepBlanksDefaultValue(int val);
90
91XMLPUBFUN int __get_xmlLineNumbersDefaultValue(void);
92XMLPUBFUN void __set_xmlLineNumbersDefaultValue(int val);
93
94XMLPUBFUN int __get_xmlLoadExtDtdDefaultValue(void);
95XMLPUBFUN void __set_xmlLoadExtDtdDefaultValue(int val);
96
97XMLPUBFUN int __get_xmlParserDebugEntities(void);
98XMLPUBFUN void __set_xmlParserDebugEntities(int val);
99
100XMLPUBFUN const char * __get_xmlParserVersion(void);
101XMLPUBFUN void __set_xmlParserVersion(const char * val);
102
103XMLPUBFUN int __get_xmlPedanticParserDefaultValue(void);
104XMLPUBFUN void __set_xmlPedanticParserDefaultValue(int val);
105
106XMLPUBFUN int __get_xmlSaveNoEmptyTags(void);
107XMLPUBFUN void __set_xmlSaveNoEmptyTags(int val);
108
109XMLPUBFUN int __get_xmlSubstituteEntitiesDefaultValue(void);
110XMLPUBFUN void __set_xmlSubstituteEntitiesDefaultValue(int val);
111
112XMLPUBFUN xmlRegisterNodeFunc __get_xmlRegisterNodeDefaultValue(void);
113XMLPUBFUN void __set_xmlRegisterNodeDefaultValue(xmlRegisterNodeFunc val);
114XMLPUBFUN void __call_xmlRegisterNodeDefaultValue(xmlNodePtr node);
115
116XMLPUBFUN xmlDeregisterNodeFunc __get_xmlDeregisterNodeDefaultValue(void);
117XMLPUBFUN void __set_xmlDeregisterNodeDefaultValue(xmlDeregisterNodeFunc val);
118XMLPUBFUN void __call_xmlDeregisterNodeDefaultValue(xmlNodePtr node);
119
120XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
121 __get_xmlParserInputBufferCreateFilenameValue(void);
122XMLPUBFUN void __set_xmlParserInputBufferCreateFilenameValue(
123 xmlParserInputBufferCreateFilenameFunc val);
124XMLPUBFUN xmlParserInputBufferPtr
125 __call_xmlParserInputBufferCreateFilenameValue(const char *URI,
126 xmlCharEncoding enc);
127
128XMLPUBFUN xmlOutputBufferCreateFilenameFunc
129 __get_xmlOutputBufferCreateFilenameValue(void);
130XMLPUBFUN void __set_xmlOutputBufferCreateFilenameValue(
131 xmlOutputBufferCreateFilenameFunc val);
132XMLPUBFUN xmlOutputBufferPtr
133 __call_xmlOutputBufferCreateFilenameValue(const char *URI,
134 xmlCharEncodingHandlerPtr encoder,
135 int compression);
136
137
138XMLPUBFUN void __xmlVaStart(char * * list,
139 char * lastargaddr, size_t lastargsize);
140XMLPUBFUN void * __xmlVaArg(char * * list, void * dest, size_t argsize);
141XMLPUBFUN void __xmlVaEnd(char * * list);
142
143#ifdef LIBXML_XPATH_ENABLED
144XMLPUBFUN int __xmlXPathNodeSetGetLength(xmlNodeSetPtr ns);
145XMLPUBFUN xmlNodePtr __xmlXPathNodeSetItem(xmlNodeSetPtr ns, int index);
146XMLPUBFUN int __xmlXPathNodeSetIsEmpty(xmlNodeSetPtr ns);
147#endif
148
149#ifdef LIBXML_HTML_ENABLED
150XMLPUBFUN const char * __htmlDefaultSubelement(const htmlElemDesc * elt);
151XMLPUBFUN int __htmlElementAllowedHereDesc(const htmlElemDesc * parent,
152 const htmlElemDesc * elt);
153XMLPUBFUN const char * *
154 __htmlRequiredAttrs(const htmlElemDesc * elt);
155#endif
156
157#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette