nokogiri 1.14.5-x86-linux → 1.15.0-x86-linux

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -8
  3. data/dependencies.yml +6 -6
  4. data/ext/nokogiri/extconf.rb +66 -22
  5. data/ext/nokogiri/html4_document.c +1 -2
  6. data/ext/nokogiri/html4_element_description.c +19 -14
  7. data/ext/nokogiri/html4_sax_parser_context.c +10 -16
  8. data/ext/nokogiri/html4_sax_push_parser.c +2 -2
  9. data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
  10. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +52 -38
  11. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +18 -18
  12. data/ext/nokogiri/include/libxml2/libxml/SAX.h +36 -36
  13. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +37 -36
  14. data/ext/nokogiri/include/libxml2/libxml/c14n.h +4 -4
  15. data/ext/nokogiri/include/libxml2/libxml/catalog.h +36 -36
  16. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +9 -9
  17. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +28 -28
  18. data/ext/nokogiri/include/libxml2/libxml/dict.h +13 -13
  19. data/ext/nokogiri/include/libxml2/libxml/encoding.h +20 -19
  20. data/ext/nokogiri/include/libxml2/libxml/entities.h +19 -21
  21. data/ext/nokogiri/include/libxml2/libxml/globals.h +89 -59
  22. data/ext/nokogiri/include/libxml2/libxml/hash.h +25 -25
  23. data/ext/nokogiri/include/libxml2/libxml/list.h +26 -26
  24. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +22 -22
  25. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -17
  26. data/ext/nokogiri/include/libxml2/libxml/parser.h +100 -79
  27. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +149 -143
  28. data/ext/nokogiri/include/libxml2/libxml/pattern.h +15 -15
  29. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +26 -26
  30. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +2 -2
  31. data/ext/nokogiri/include/libxml2/libxml/schematron.h +18 -18
  32. data/ext/nokogiri/include/libxml2/libxml/threads.h +23 -20
  33. data/ext/nokogiri/include/libxml2/libxml/tree.h +166 -164
  34. data/ext/nokogiri/include/libxml2/libxml/uri.h +15 -15
  35. data/ext/nokogiri/include/libxml2/libxml/valid.h +72 -87
  36. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +10 -10
  37. data/ext/nokogiri/include/libxml2/libxml/xlink.h +5 -5
  38. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +60 -59
  39. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +21 -21
  40. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +18 -46
  41. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +14 -41
  42. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +26 -24
  43. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +4 -4
  44. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +87 -87
  45. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +30 -30
  46. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +10 -10
  47. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +30 -30
  48. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +34 -34
  49. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +30 -30
  50. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +166 -166
  51. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +50 -27
  52. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +80 -80
  53. data/ext/nokogiri/include/libxml2/libxml/xpath.h +41 -41
  54. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +117 -117
  55. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +21 -21
  56. data/ext/nokogiri/include/libxslt/attributes.h +1 -0
  57. data/ext/nokogiri/include/libxslt/variables.h +3 -3
  58. data/ext/nokogiri/include/libxslt/xsltInternals.h +14 -4
  59. data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
  60. data/ext/nokogiri/include/libxslt/xsltlocale.h +14 -54
  61. data/ext/nokogiri/include/libxslt/xsltutils.h +35 -2
  62. data/ext/nokogiri/nokogiri.c +46 -24
  63. data/ext/nokogiri/nokogiri.h +13 -2
  64. data/ext/nokogiri/xml_attr.c +1 -1
  65. data/ext/nokogiri/xml_cdata.c +10 -2
  66. data/ext/nokogiri/xml_comment.c +1 -1
  67. data/ext/nokogiri/xml_document.c +102 -22
  68. data/ext/nokogiri/xml_document_fragment.c +1 -1
  69. data/ext/nokogiri/xml_dtd.c +1 -1
  70. data/ext/nokogiri/xml_element_content.c +32 -29
  71. data/ext/nokogiri/xml_element_decl.c +5 -5
  72. data/ext/nokogiri/xml_encoding_handler.c +12 -4
  73. data/ext/nokogiri/xml_entity_reference.c +1 -1
  74. data/ext/nokogiri/xml_namespace.c +11 -12
  75. data/ext/nokogiri/xml_node.c +7 -7
  76. data/ext/nokogiri/xml_node_set.c +125 -105
  77. data/ext/nokogiri/xml_processing_instruction.c +1 -1
  78. data/ext/nokogiri/xml_reader.c +37 -28
  79. data/ext/nokogiri/xml_relax_ng.c +65 -78
  80. data/ext/nokogiri/xml_sax_parser.c +24 -5
  81. data/ext/nokogiri/xml_sax_parser_context.c +46 -25
  82. data/ext/nokogiri/xml_sax_push_parser.c +29 -8
  83. data/ext/nokogiri/xml_schema.c +90 -116
  84. data/ext/nokogiri/xml_text.c +10 -2
  85. data/ext/nokogiri/xml_xpath_context.c +156 -83
  86. data/ext/nokogiri/xslt_stylesheet.c +103 -50
  87. data/lib/nokogiri/2.7/nokogiri.so +0 -0
  88. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  89. data/lib/nokogiri/3.1/nokogiri.so +0 -0
  90. data/lib/nokogiri/3.2/nokogiri.so +0 -0
  91. data/lib/nokogiri/css/xpath_visitor.rb +2 -2
  92. data/lib/nokogiri/extension.rb +1 -1
  93. data/lib/nokogiri/html4/document_fragment.rb +1 -1
  94. data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
  95. data/lib/nokogiri/html5/document_fragment.rb +1 -1
  96. data/lib/nokogiri/html5/node.rb +5 -0
  97. data/lib/nokogiri/html5.rb +5 -2
  98. data/lib/nokogiri/jruby/nokogiri_jars.rb +3 -3
  99. data/lib/nokogiri/version/constant.rb +1 -1
  100. data/lib/nokogiri/xml/attribute_decl.rb +4 -2
  101. data/lib/nokogiri/xml/document_fragment.rb +1 -1
  102. data/lib/nokogiri/xml/element_content.rb +10 -2
  103. data/lib/nokogiri/xml/element_decl.rb +4 -2
  104. data/lib/nokogiri/xml/entity_decl.rb +4 -2
  105. data/lib/nokogiri/xml/node/save_options.rb +8 -0
  106. data/lib/nokogiri/xml/node.rb +22 -13
  107. data/lib/nokogiri/xml/pp/node.rb +23 -12
  108. data/lib/nokogiri/xml/sax/document.rb +1 -1
  109. data/lib/nokogiri/xml/searchable.rb +18 -10
  110. data/lib/nokogiri/xslt.rb +73 -3
  111. data/lib/nokogiri.rb +12 -4
  112. data/lib/xsd/xmlparser/nokogiri.rb +1 -1
  113. metadata +2 -2
@@ -54,7 +54,7 @@ extern "C" {
54
54
  *
55
55
  * Signature for a free() implementation.
56
56
  */
57
- typedef void (XMLCALL *xmlFreeFunc)(void *mem);
57
+ typedef void (*xmlFreeFunc)(void *mem);
58
58
  /**
59
59
  * xmlMallocFunc:
60
60
  * @size: the size requested in bytes
@@ -63,7 +63,7 @@ typedef void (XMLCALL *xmlFreeFunc)(void *mem);
63
63
  *
64
64
  * Returns a pointer to the newly allocated block or NULL in case of error.
65
65
  */
66
- typedef void *(LIBXML_ATTR_ALLOC_SIZE(1) XMLCALL *xmlMallocFunc)(size_t size);
66
+ typedef void *(LIBXML_ATTR_ALLOC_SIZE(1) *xmlMallocFunc)(size_t size);
67
67
 
68
68
  /**
69
69
  * xmlReallocFunc:
@@ -74,7 +74,7 @@ typedef void *(LIBXML_ATTR_ALLOC_SIZE(1) XMLCALL *xmlMallocFunc)(size_t size);
74
74
  *
75
75
  * Returns a pointer to the newly reallocated block or NULL in case of error.
76
76
  */
77
- typedef void *(XMLCALL *xmlReallocFunc)(void *mem, size_t size);
77
+ typedef void *(*xmlReallocFunc)(void *mem, size_t size);
78
78
 
79
79
  /**
80
80
  * xmlStrdupFunc:
@@ -84,7 +84,7 @@ typedef void *(XMLCALL *xmlReallocFunc)(void *mem, size_t size);
84
84
  *
85
85
  * Returns the copy of the string or NULL in case of error.
86
86
  */
87
- typedef char *(XMLCALL *xmlStrdupFunc)(const char *str);
87
+ typedef char *(*xmlStrdupFunc)(const char *str);
88
88
 
89
89
  /*
90
90
  * The 4 interfaces used for all memory handling within libxml.
@@ -100,23 +100,23 @@ LIBXML_DLL_IMPORT xmlStrdupFunc xmlMemStrdup;
100
100
  * The xmlGc function have an extra entry for atomic block
101
101
  * allocations useful for garbage collected memory allocators
102
102
  */
103
- XMLPUBFUN int XMLCALL
103
+ XMLPUBFUN int
104
104
  xmlMemSetup (xmlFreeFunc freeFunc,
105
105
  xmlMallocFunc mallocFunc,
106
106
  xmlReallocFunc reallocFunc,
107
107
  xmlStrdupFunc strdupFunc);
108
- XMLPUBFUN int XMLCALL
108
+ XMLPUBFUN int
109
109
  xmlMemGet (xmlFreeFunc *freeFunc,
110
110
  xmlMallocFunc *mallocFunc,
111
111
  xmlReallocFunc *reallocFunc,
112
112
  xmlStrdupFunc *strdupFunc);
113
- XMLPUBFUN int XMLCALL
113
+ XMLPUBFUN int
114
114
  xmlGcMemSetup (xmlFreeFunc freeFunc,
115
115
  xmlMallocFunc mallocFunc,
116
116
  xmlMallocFunc mallocAtomicFunc,
117
117
  xmlReallocFunc reallocFunc,
118
118
  xmlStrdupFunc strdupFunc);
119
- XMLPUBFUN int XMLCALL
119
+ XMLPUBFUN int
120
120
  xmlGcMemGet (xmlFreeFunc *freeFunc,
121
121
  xmlMallocFunc *mallocFunc,
122
122
  xmlMallocFunc *mallocAtomicFunc,
@@ -127,45 +127,47 @@ XMLPUBFUN int XMLCALL
127
127
  * Initialization of the memory layer.
128
128
  */
129
129
  XML_DEPRECATED
130
- XMLPUBFUN int XMLCALL
130
+ XMLPUBFUN int
131
131
  xmlInitMemory (void);
132
132
 
133
133
  /*
134
134
  * Cleanup of the memory layer.
135
135
  */
136
136
  XML_DEPRECATED
137
- XMLPUBFUN void XMLCALL
137
+ XMLPUBFUN void
138
138
  xmlCleanupMemory (void);
139
139
  /*
140
140
  * These are specific to the XML debug memory wrapper.
141
141
  */
142
- XMLPUBFUN int XMLCALL
142
+ XMLPUBFUN size_t
143
+ xmlMemSize (void *ptr);
144
+ XMLPUBFUN int
143
145
  xmlMemUsed (void);
144
- XMLPUBFUN int XMLCALL
146
+ XMLPUBFUN int
145
147
  xmlMemBlocks (void);
146
- XMLPUBFUN void XMLCALL
148
+ XMLPUBFUN void
147
149
  xmlMemDisplay (FILE *fp);
148
- XMLPUBFUN void XMLCALL
150
+ XMLPUBFUN void
149
151
  xmlMemDisplayLast(FILE *fp, long nbBytes);
150
- XMLPUBFUN void XMLCALL
152
+ XMLPUBFUN void
151
153
  xmlMemShow (FILE *fp, int nr);
152
- XMLPUBFUN void XMLCALL
154
+ XMLPUBFUN void
153
155
  xmlMemoryDump (void);
154
- XMLPUBFUN void * XMLCALL
156
+ XMLPUBFUN void *
155
157
  xmlMemMalloc (size_t size) LIBXML_ATTR_ALLOC_SIZE(1);
156
- XMLPUBFUN void * XMLCALL
158
+ XMLPUBFUN void *
157
159
  xmlMemRealloc (void *ptr,size_t size);
158
- XMLPUBFUN void XMLCALL
160
+ XMLPUBFUN void
159
161
  xmlMemFree (void *ptr);
160
- XMLPUBFUN char * XMLCALL
162
+ XMLPUBFUN char *
161
163
  xmlMemoryStrdup (const char *str);
162
- XMLPUBFUN void * XMLCALL
164
+ XMLPUBFUN void *
163
165
  xmlMallocLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1);
164
- XMLPUBFUN void * XMLCALL
166
+ XMLPUBFUN void *
165
167
  xmlReallocLoc (void *ptr, size_t size, const char *file, int line);
166
- XMLPUBFUN void * XMLCALL
168
+ XMLPUBFUN void *
167
169
  xmlMallocAtomicLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1);
168
- XMLPUBFUN char * XMLCALL
170
+ XMLPUBFUN char *
169
171
  xmlMemStrdupLoc (const char *str, const char *file, int line);
170
172
 
171
173
 
@@ -37,16 +37,16 @@ typedef enum {
37
37
  XML_MODULE_LOCAL= 2 /* local binding */
38
38
  } xmlModuleOption;
39
39
 
40
- XMLPUBFUN xmlModulePtr XMLCALL xmlModuleOpen (const char *filename,
40
+ XMLPUBFUN xmlModulePtr xmlModuleOpen (const char *filename,
41
41
  int options);
42
42
 
43
- XMLPUBFUN int XMLCALL xmlModuleSymbol (xmlModulePtr module,
43
+ XMLPUBFUN int xmlModuleSymbol (xmlModulePtr module,
44
44
  const char* name,
45
45
  void **result);
46
46
 
47
- XMLPUBFUN int XMLCALL xmlModuleClose (xmlModulePtr module);
47
+ XMLPUBFUN int xmlModuleClose (xmlModulePtr module);
48
48
 
49
- XMLPUBFUN int XMLCALL xmlModuleFree (xmlModulePtr module);
49
+ XMLPUBFUN int xmlModuleFree (xmlModulePtr module);
50
50
 
51
51
  #ifdef __cplusplus
52
52
  }
@@ -108,16 +108,16 @@ typedef xmlTextReader *xmlTextReaderPtr;
108
108
  /*
109
109
  * Constructors & Destructor
110
110
  */
111
- XMLPUBFUN xmlTextReaderPtr XMLCALL
111
+ XMLPUBFUN xmlTextReaderPtr
112
112
  xmlNewTextReader (xmlParserInputBufferPtr input,
113
113
  const char *URI);
114
- XMLPUBFUN xmlTextReaderPtr XMLCALL
114
+ XMLPUBFUN xmlTextReaderPtr
115
115
  xmlNewTextReaderFilename(const char *URI);
116
116
 
117
- XMLPUBFUN void XMLCALL
117
+ XMLPUBFUN void
118
118
  xmlFreeTextReader (xmlTextReaderPtr reader);
119
119
 
120
- XMLPUBFUN int XMLCALL
120
+ XMLPUBFUN int
121
121
  xmlTextReaderSetup(xmlTextReaderPtr reader,
122
122
  xmlParserInputBufferPtr input, const char *URL,
123
123
  const char *encoding, int options);
@@ -125,222 +125,222 @@ XMLPUBFUN int XMLCALL
125
125
  /*
126
126
  * Iterators
127
127
  */
128
- XMLPUBFUN int XMLCALL
128
+ XMLPUBFUN int
129
129
  xmlTextReaderRead (xmlTextReaderPtr reader);
130
130
 
131
131
  #ifdef LIBXML_WRITER_ENABLED
132
- XMLPUBFUN xmlChar * XMLCALL
132
+ XMLPUBFUN xmlChar *
133
133
  xmlTextReaderReadInnerXml(xmlTextReaderPtr reader);
134
134
 
135
- XMLPUBFUN xmlChar * XMLCALL
135
+ XMLPUBFUN xmlChar *
136
136
  xmlTextReaderReadOuterXml(xmlTextReaderPtr reader);
137
137
  #endif
138
138
 
139
- XMLPUBFUN xmlChar * XMLCALL
139
+ XMLPUBFUN xmlChar *
140
140
  xmlTextReaderReadString (xmlTextReaderPtr reader);
141
- XMLPUBFUN int XMLCALL
141
+ XMLPUBFUN int
142
142
  xmlTextReaderReadAttributeValue(xmlTextReaderPtr reader);
143
143
 
144
144
  /*
145
145
  * Attributes of the node
146
146
  */
147
- XMLPUBFUN int XMLCALL
147
+ XMLPUBFUN int
148
148
  xmlTextReaderAttributeCount(xmlTextReaderPtr reader);
149
- XMLPUBFUN int XMLCALL
149
+ XMLPUBFUN int
150
150
  xmlTextReaderDepth (xmlTextReaderPtr reader);
151
- XMLPUBFUN int XMLCALL
151
+ XMLPUBFUN int
152
152
  xmlTextReaderHasAttributes(xmlTextReaderPtr reader);
153
- XMLPUBFUN int XMLCALL
153
+ XMLPUBFUN int
154
154
  xmlTextReaderHasValue(xmlTextReaderPtr reader);
155
- XMLPUBFUN int XMLCALL
155
+ XMLPUBFUN int
156
156
  xmlTextReaderIsDefault (xmlTextReaderPtr reader);
157
- XMLPUBFUN int XMLCALL
157
+ XMLPUBFUN int
158
158
  xmlTextReaderIsEmptyElement(xmlTextReaderPtr reader);
159
- XMLPUBFUN int XMLCALL
159
+ XMLPUBFUN int
160
160
  xmlTextReaderNodeType (xmlTextReaderPtr reader);
161
- XMLPUBFUN int XMLCALL
161
+ XMLPUBFUN int
162
162
  xmlTextReaderQuoteChar (xmlTextReaderPtr reader);
163
- XMLPUBFUN int XMLCALL
163
+ XMLPUBFUN int
164
164
  xmlTextReaderReadState (xmlTextReaderPtr reader);
165
- XMLPUBFUN int XMLCALL
165
+ XMLPUBFUN int
166
166
  xmlTextReaderIsNamespaceDecl(xmlTextReaderPtr reader);
167
167
 
168
- XMLPUBFUN const xmlChar * XMLCALL
168
+ XMLPUBFUN const xmlChar *
169
169
  xmlTextReaderConstBaseUri (xmlTextReaderPtr reader);
170
- XMLPUBFUN const xmlChar * XMLCALL
170
+ XMLPUBFUN const xmlChar *
171
171
  xmlTextReaderConstLocalName (xmlTextReaderPtr reader);
172
- XMLPUBFUN const xmlChar * XMLCALL
172
+ XMLPUBFUN const xmlChar *
173
173
  xmlTextReaderConstName (xmlTextReaderPtr reader);
174
- XMLPUBFUN const xmlChar * XMLCALL
174
+ XMLPUBFUN const xmlChar *
175
175
  xmlTextReaderConstNamespaceUri(xmlTextReaderPtr reader);
176
- XMLPUBFUN const xmlChar * XMLCALL
176
+ XMLPUBFUN const xmlChar *
177
177
  xmlTextReaderConstPrefix (xmlTextReaderPtr reader);
178
- XMLPUBFUN const xmlChar * XMLCALL
178
+ XMLPUBFUN const xmlChar *
179
179
  xmlTextReaderConstXmlLang (xmlTextReaderPtr reader);
180
- XMLPUBFUN const xmlChar * XMLCALL
180
+ XMLPUBFUN const xmlChar *
181
181
  xmlTextReaderConstString (xmlTextReaderPtr reader,
182
182
  const xmlChar *str);
183
- XMLPUBFUN const xmlChar * XMLCALL
183
+ XMLPUBFUN const xmlChar *
184
184
  xmlTextReaderConstValue (xmlTextReaderPtr reader);
185
185
 
186
186
  /*
187
187
  * use the Const version of the routine for
188
188
  * better performance and simpler code
189
189
  */
190
- XMLPUBFUN xmlChar * XMLCALL
190
+ XMLPUBFUN xmlChar *
191
191
  xmlTextReaderBaseUri (xmlTextReaderPtr reader);
192
- XMLPUBFUN xmlChar * XMLCALL
192
+ XMLPUBFUN xmlChar *
193
193
  xmlTextReaderLocalName (xmlTextReaderPtr reader);
194
- XMLPUBFUN xmlChar * XMLCALL
194
+ XMLPUBFUN xmlChar *
195
195
  xmlTextReaderName (xmlTextReaderPtr reader);
196
- XMLPUBFUN xmlChar * XMLCALL
196
+ XMLPUBFUN xmlChar *
197
197
  xmlTextReaderNamespaceUri(xmlTextReaderPtr reader);
198
- XMLPUBFUN xmlChar * XMLCALL
198
+ XMLPUBFUN xmlChar *
199
199
  xmlTextReaderPrefix (xmlTextReaderPtr reader);
200
- XMLPUBFUN xmlChar * XMLCALL
200
+ XMLPUBFUN xmlChar *
201
201
  xmlTextReaderXmlLang (xmlTextReaderPtr reader);
202
- XMLPUBFUN xmlChar * XMLCALL
202
+ XMLPUBFUN xmlChar *
203
203
  xmlTextReaderValue (xmlTextReaderPtr reader);
204
204
 
205
205
  /*
206
206
  * Methods of the XmlTextReader
207
207
  */
208
- XMLPUBFUN int XMLCALL
208
+ XMLPUBFUN int
209
209
  xmlTextReaderClose (xmlTextReaderPtr reader);
210
- XMLPUBFUN xmlChar * XMLCALL
210
+ XMLPUBFUN xmlChar *
211
211
  xmlTextReaderGetAttributeNo (xmlTextReaderPtr reader,
212
212
  int no);
213
- XMLPUBFUN xmlChar * XMLCALL
213
+ XMLPUBFUN xmlChar *
214
214
  xmlTextReaderGetAttribute (xmlTextReaderPtr reader,
215
215
  const xmlChar *name);
216
- XMLPUBFUN xmlChar * XMLCALL
216
+ XMLPUBFUN xmlChar *
217
217
  xmlTextReaderGetAttributeNs (xmlTextReaderPtr reader,
218
218
  const xmlChar *localName,
219
219
  const xmlChar *namespaceURI);
220
- XMLPUBFUN xmlParserInputBufferPtr XMLCALL
220
+ XMLPUBFUN xmlParserInputBufferPtr
221
221
  xmlTextReaderGetRemainder (xmlTextReaderPtr reader);
222
- XMLPUBFUN xmlChar * XMLCALL
222
+ XMLPUBFUN xmlChar *
223
223
  xmlTextReaderLookupNamespace(xmlTextReaderPtr reader,
224
224
  const xmlChar *prefix);
225
- XMLPUBFUN int XMLCALL
225
+ XMLPUBFUN int
226
226
  xmlTextReaderMoveToAttributeNo(xmlTextReaderPtr reader,
227
227
  int no);
228
- XMLPUBFUN int XMLCALL
228
+ XMLPUBFUN int
229
229
  xmlTextReaderMoveToAttribute(xmlTextReaderPtr reader,
230
230
  const xmlChar *name);
231
- XMLPUBFUN int XMLCALL
231
+ XMLPUBFUN int
232
232
  xmlTextReaderMoveToAttributeNs(xmlTextReaderPtr reader,
233
233
  const xmlChar *localName,
234
234
  const xmlChar *namespaceURI);
235
- XMLPUBFUN int XMLCALL
235
+ XMLPUBFUN int
236
236
  xmlTextReaderMoveToFirstAttribute(xmlTextReaderPtr reader);
237
- XMLPUBFUN int XMLCALL
237
+ XMLPUBFUN int
238
238
  xmlTextReaderMoveToNextAttribute(xmlTextReaderPtr reader);
239
- XMLPUBFUN int XMLCALL
239
+ XMLPUBFUN int
240
240
  xmlTextReaderMoveToElement (xmlTextReaderPtr reader);
241
- XMLPUBFUN int XMLCALL
241
+ XMLPUBFUN int
242
242
  xmlTextReaderNormalization (xmlTextReaderPtr reader);
243
- XMLPUBFUN const xmlChar * XMLCALL
243
+ XMLPUBFUN const xmlChar *
244
244
  xmlTextReaderConstEncoding (xmlTextReaderPtr reader);
245
245
 
246
246
  /*
247
247
  * Extensions
248
248
  */
249
- XMLPUBFUN int XMLCALL
249
+ XMLPUBFUN int
250
250
  xmlTextReaderSetParserProp (xmlTextReaderPtr reader,
251
251
  int prop,
252
252
  int value);
253
- XMLPUBFUN int XMLCALL
253
+ XMLPUBFUN int
254
254
  xmlTextReaderGetParserProp (xmlTextReaderPtr reader,
255
255
  int prop);
256
- XMLPUBFUN xmlNodePtr XMLCALL
256
+ XMLPUBFUN xmlNodePtr
257
257
  xmlTextReaderCurrentNode (xmlTextReaderPtr reader);
258
258
 
259
- XMLPUBFUN int XMLCALL
259
+ XMLPUBFUN int
260
260
  xmlTextReaderGetParserLineNumber(xmlTextReaderPtr reader);
261
261
 
262
- XMLPUBFUN int XMLCALL
262
+ XMLPUBFUN int
263
263
  xmlTextReaderGetParserColumnNumber(xmlTextReaderPtr reader);
264
264
 
265
- XMLPUBFUN xmlNodePtr XMLCALL
265
+ XMLPUBFUN xmlNodePtr
266
266
  xmlTextReaderPreserve (xmlTextReaderPtr reader);
267
267
  #ifdef LIBXML_PATTERN_ENABLED
268
- XMLPUBFUN int XMLCALL
268
+ XMLPUBFUN int
269
269
  xmlTextReaderPreservePattern(xmlTextReaderPtr reader,
270
270
  const xmlChar *pattern,
271
271
  const xmlChar **namespaces);
272
272
  #endif /* LIBXML_PATTERN_ENABLED */
273
- XMLPUBFUN xmlDocPtr XMLCALL
273
+ XMLPUBFUN xmlDocPtr
274
274
  xmlTextReaderCurrentDoc (xmlTextReaderPtr reader);
275
- XMLPUBFUN xmlNodePtr XMLCALL
275
+ XMLPUBFUN xmlNodePtr
276
276
  xmlTextReaderExpand (xmlTextReaderPtr reader);
277
- XMLPUBFUN int XMLCALL
277
+ XMLPUBFUN int
278
278
  xmlTextReaderNext (xmlTextReaderPtr reader);
279
- XMLPUBFUN int XMLCALL
279
+ XMLPUBFUN int
280
280
  xmlTextReaderNextSibling (xmlTextReaderPtr reader);
281
- XMLPUBFUN int XMLCALL
281
+ XMLPUBFUN int
282
282
  xmlTextReaderIsValid (xmlTextReaderPtr reader);
283
283
  #ifdef LIBXML_SCHEMAS_ENABLED
284
- XMLPUBFUN int XMLCALL
284
+ XMLPUBFUN int
285
285
  xmlTextReaderRelaxNGValidate(xmlTextReaderPtr reader,
286
286
  const char *rng);
287
- XMLPUBFUN int XMLCALL
287
+ XMLPUBFUN int
288
288
  xmlTextReaderRelaxNGValidateCtxt(xmlTextReaderPtr reader,
289
289
  xmlRelaxNGValidCtxtPtr ctxt,
290
290
  int options);
291
291
 
292
- XMLPUBFUN int XMLCALL
292
+ XMLPUBFUN int
293
293
  xmlTextReaderRelaxNGSetSchema(xmlTextReaderPtr reader,
294
294
  xmlRelaxNGPtr schema);
295
- XMLPUBFUN int XMLCALL
295
+ XMLPUBFUN int
296
296
  xmlTextReaderSchemaValidate (xmlTextReaderPtr reader,
297
297
  const char *xsd);
298
- XMLPUBFUN int XMLCALL
298
+ XMLPUBFUN int
299
299
  xmlTextReaderSchemaValidateCtxt(xmlTextReaderPtr reader,
300
300
  xmlSchemaValidCtxtPtr ctxt,
301
301
  int options);
302
- XMLPUBFUN int XMLCALL
302
+ XMLPUBFUN int
303
303
  xmlTextReaderSetSchema (xmlTextReaderPtr reader,
304
304
  xmlSchemaPtr schema);
305
305
  #endif
306
- XMLPUBFUN const xmlChar * XMLCALL
306
+ XMLPUBFUN const xmlChar *
307
307
  xmlTextReaderConstXmlVersion(xmlTextReaderPtr reader);
308
- XMLPUBFUN int XMLCALL
308
+ XMLPUBFUN int
309
309
  xmlTextReaderStandalone (xmlTextReaderPtr reader);
310
310
 
311
311
 
312
312
  /*
313
313
  * Index lookup
314
314
  */
315
- XMLPUBFUN long XMLCALL
315
+ XMLPUBFUN long
316
316
  xmlTextReaderByteConsumed (xmlTextReaderPtr reader);
317
317
 
318
318
  /*
319
319
  * New more complete APIs for simpler creation and reuse of readers
320
320
  */
321
- XMLPUBFUN xmlTextReaderPtr XMLCALL
321
+ XMLPUBFUN xmlTextReaderPtr
322
322
  xmlReaderWalker (xmlDocPtr doc);
323
- XMLPUBFUN xmlTextReaderPtr XMLCALL
323
+ XMLPUBFUN xmlTextReaderPtr
324
324
  xmlReaderForDoc (const xmlChar * cur,
325
325
  const char *URL,
326
326
  const char *encoding,
327
327
  int options);
328
- XMLPUBFUN xmlTextReaderPtr XMLCALL
328
+ XMLPUBFUN xmlTextReaderPtr
329
329
  xmlReaderForFile (const char *filename,
330
330
  const char *encoding,
331
331
  int options);
332
- XMLPUBFUN xmlTextReaderPtr XMLCALL
332
+ XMLPUBFUN xmlTextReaderPtr
333
333
  xmlReaderForMemory (const char *buffer,
334
334
  int size,
335
335
  const char *URL,
336
336
  const char *encoding,
337
337
  int options);
338
- XMLPUBFUN xmlTextReaderPtr XMLCALL
338
+ XMLPUBFUN xmlTextReaderPtr
339
339
  xmlReaderForFd (int fd,
340
340
  const char *URL,
341
341
  const char *encoding,
342
342
  int options);
343
- XMLPUBFUN xmlTextReaderPtr XMLCALL
343
+ XMLPUBFUN xmlTextReaderPtr
344
344
  xmlReaderForIO (xmlInputReadCallback ioread,
345
345
  xmlInputCloseCallback ioclose,
346
346
  void *ioctx,
@@ -348,34 +348,34 @@ XMLPUBFUN xmlTextReaderPtr XMLCALL
348
348
  const char *encoding,
349
349
  int options);
350
350
 
351
- XMLPUBFUN int XMLCALL
351
+ XMLPUBFUN int
352
352
  xmlReaderNewWalker (xmlTextReaderPtr reader,
353
353
  xmlDocPtr doc);
354
- XMLPUBFUN int XMLCALL
354
+ XMLPUBFUN int
355
355
  xmlReaderNewDoc (xmlTextReaderPtr reader,
356
356
  const xmlChar * cur,
357
357
  const char *URL,
358
358
  const char *encoding,
359
359
  int options);
360
- XMLPUBFUN int XMLCALL
360
+ XMLPUBFUN int
361
361
  xmlReaderNewFile (xmlTextReaderPtr reader,
362
362
  const char *filename,
363
363
  const char *encoding,
364
364
  int options);
365
- XMLPUBFUN int XMLCALL
365
+ XMLPUBFUN int
366
366
  xmlReaderNewMemory (xmlTextReaderPtr reader,
367
367
  const char *buffer,
368
368
  int size,
369
369
  const char *URL,
370
370
  const char *encoding,
371
371
  int options);
372
- XMLPUBFUN int XMLCALL
372
+ XMLPUBFUN int
373
373
  xmlReaderNewFd (xmlTextReaderPtr reader,
374
374
  int fd,
375
375
  const char *URL,
376
376
  const char *encoding,
377
377
  int options);
378
- XMLPUBFUN int XMLCALL
378
+ XMLPUBFUN int
379
379
  xmlReaderNewIO (xmlTextReaderPtr reader,
380
380
  xmlInputReadCallback ioread,
381
381
  xmlInputCloseCallback ioclose,
@@ -397,23 +397,23 @@ typedef void * xmlTextReaderLocatorPtr;
397
397
  *
398
398
  * Signature of an error callback from a reader parser
399
399
  */
400
- typedef void (XMLCALL *xmlTextReaderErrorFunc)(void *arg,
400
+ typedef void (*xmlTextReaderErrorFunc)(void *arg,
401
401
  const char *msg,
402
402
  xmlParserSeverities severity,
403
403
  xmlTextReaderLocatorPtr locator);
404
- XMLPUBFUN int XMLCALL
404
+ XMLPUBFUN int
405
405
  xmlTextReaderLocatorLineNumber(xmlTextReaderLocatorPtr locator);
406
- XMLPUBFUN xmlChar * XMLCALL
406
+ XMLPUBFUN xmlChar *
407
407
  xmlTextReaderLocatorBaseURI (xmlTextReaderLocatorPtr locator);
408
- XMLPUBFUN void XMLCALL
408
+ XMLPUBFUN void
409
409
  xmlTextReaderSetErrorHandler(xmlTextReaderPtr reader,
410
410
  xmlTextReaderErrorFunc f,
411
411
  void *arg);
412
- XMLPUBFUN void XMLCALL
412
+ XMLPUBFUN void
413
413
  xmlTextReaderSetStructuredErrorHandler(xmlTextReaderPtr reader,
414
414
  xmlStructuredErrorFunc f,
415
415
  void *arg);
416
- XMLPUBFUN void XMLCALL
416
+ XMLPUBFUN void
417
417
  xmlTextReaderGetErrorHandler(xmlTextReaderPtr reader,
418
418
  xmlTextReaderErrorFunc *f,
419
419
  void **arg);
@@ -48,16 +48,16 @@ extern "C" {
48
48
  /*
49
49
  * The POSIX like API
50
50
  */
51
- XMLPUBFUN xmlRegexpPtr XMLCALL
51
+ XMLPUBFUN xmlRegexpPtr
52
52
  xmlRegexpCompile (const xmlChar *regexp);
53
- XMLPUBFUN void XMLCALL xmlRegFreeRegexp(xmlRegexpPtr regexp);
54
- XMLPUBFUN int XMLCALL
53
+ XMLPUBFUN void xmlRegFreeRegexp(xmlRegexpPtr regexp);
54
+ XMLPUBFUN int
55
55
  xmlRegexpExec (xmlRegexpPtr comp,
56
56
  const xmlChar *value);
57
- XMLPUBFUN void XMLCALL
57
+ XMLPUBFUN void
58
58
  xmlRegexpPrint (FILE *output,
59
59
  xmlRegexpPtr regexp);
60
- XMLPUBFUN int XMLCALL
60
+ XMLPUBFUN int
61
61
  xmlRegexpIsDeterminist(xmlRegexpPtr comp);
62
62
 
63
63
  /**
@@ -77,29 +77,29 @@ typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec,
77
77
  /*
78
78
  * The progressive API
79
79
  */
80
- XMLPUBFUN xmlRegExecCtxtPtr XMLCALL
80
+ XMLPUBFUN xmlRegExecCtxtPtr
81
81
  xmlRegNewExecCtxt (xmlRegexpPtr comp,
82
82
  xmlRegExecCallbacks callback,
83
83
  void *data);
84
- XMLPUBFUN void XMLCALL
84
+ XMLPUBFUN void
85
85
  xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec);
86
- XMLPUBFUN int XMLCALL
86
+ XMLPUBFUN int
87
87
  xmlRegExecPushString(xmlRegExecCtxtPtr exec,
88
88
  const xmlChar *value,
89
89
  void *data);
90
- XMLPUBFUN int XMLCALL
90
+ XMLPUBFUN int
91
91
  xmlRegExecPushString2(xmlRegExecCtxtPtr exec,
92
92
  const xmlChar *value,
93
93
  const xmlChar *value2,
94
94
  void *data);
95
95
 
96
- XMLPUBFUN int XMLCALL
96
+ XMLPUBFUN int
97
97
  xmlRegExecNextValues(xmlRegExecCtxtPtr exec,
98
98
  int *nbval,
99
99
  int *nbneg,
100
100
  xmlChar **values,
101
101
  int *terminal);
102
- XMLPUBFUN int XMLCALL
102
+ XMLPUBFUN int
103
103
  xmlRegExecErrInfo (xmlRegExecCtxtPtr exec,
104
104
  const xmlChar **string,
105
105
  int *nbval,
@@ -116,15 +116,15 @@ XMLPUBFUN int XMLCALL
116
116
  typedef struct _xmlExpCtxt xmlExpCtxt;
117
117
  typedef xmlExpCtxt *xmlExpCtxtPtr;
118
118
 
119
- XMLPUBFUN void XMLCALL
119
+ XMLPUBFUN void
120
120
  xmlExpFreeCtxt (xmlExpCtxtPtr ctxt);
121
- XMLPUBFUN xmlExpCtxtPtr XMLCALL
121
+ XMLPUBFUN xmlExpCtxtPtr
122
122
  xmlExpNewCtxt (int maxNodes,
123
123
  xmlDictPtr dict);
124
124
 
125
- XMLPUBFUN int XMLCALL
125
+ XMLPUBFUN int
126
126
  xmlExpCtxtNbNodes(xmlExpCtxtPtr ctxt);
127
- XMLPUBFUN int XMLCALL
127
+ XMLPUBFUN int
128
128
  xmlExpCtxtNbCons(xmlExpCtxtPtr ctxt);
129
129
 
130
130
  /* Expressions are trees but the tree is opaque */
@@ -150,31 +150,31 @@ XMLPUBVAR xmlExpNodePtr emptyExp;
150
150
  /*
151
151
  * Expressions are reference counted internally
152
152
  */
153
- XMLPUBFUN void XMLCALL
153
+ XMLPUBFUN void
154
154
  xmlExpFree (xmlExpCtxtPtr ctxt,
155
155
  xmlExpNodePtr expr);
156
- XMLPUBFUN void XMLCALL
156
+ XMLPUBFUN void
157
157
  xmlExpRef (xmlExpNodePtr expr);
158
158
 
159
159
  /*
160
160
  * constructors can be either manual or from a string
161
161
  */
162
- XMLPUBFUN xmlExpNodePtr XMLCALL
162
+ XMLPUBFUN xmlExpNodePtr
163
163
  xmlExpParse (xmlExpCtxtPtr ctxt,
164
164
  const char *expr);
165
- XMLPUBFUN xmlExpNodePtr XMLCALL
165
+ XMLPUBFUN xmlExpNodePtr
166
166
  xmlExpNewAtom (xmlExpCtxtPtr ctxt,
167
167
  const xmlChar *name,
168
168
  int len);
169
- XMLPUBFUN xmlExpNodePtr XMLCALL
169
+ XMLPUBFUN xmlExpNodePtr
170
170
  xmlExpNewOr (xmlExpCtxtPtr ctxt,
171
171
  xmlExpNodePtr left,
172
172
  xmlExpNodePtr right);
173
- XMLPUBFUN xmlExpNodePtr XMLCALL
173
+ XMLPUBFUN xmlExpNodePtr
174
174
  xmlExpNewSeq (xmlExpCtxtPtr ctxt,
175
175
  xmlExpNodePtr left,
176
176
  xmlExpNodePtr right);
177
- XMLPUBFUN xmlExpNodePtr XMLCALL
177
+ XMLPUBFUN xmlExpNodePtr
178
178
  xmlExpNewRange (xmlExpCtxtPtr ctxt,
179
179
  xmlExpNodePtr subset,
180
180
  int min,
@@ -182,34 +182,34 @@ XMLPUBFUN xmlExpNodePtr XMLCALL
182
182
  /*
183
183
  * The really interesting APIs
184
184
  */
185
- XMLPUBFUN int XMLCALL
185
+ XMLPUBFUN int
186
186
  xmlExpIsNillable(xmlExpNodePtr expr);
187
- XMLPUBFUN int XMLCALL
187
+ XMLPUBFUN int
188
188
  xmlExpMaxToken (xmlExpNodePtr expr);
189
- XMLPUBFUN int XMLCALL
189
+ XMLPUBFUN int
190
190
  xmlExpGetLanguage(xmlExpCtxtPtr ctxt,
191
191
  xmlExpNodePtr expr,
192
192
  const xmlChar**langList,
193
193
  int len);
194
- XMLPUBFUN int XMLCALL
194
+ XMLPUBFUN int
195
195
  xmlExpGetStart (xmlExpCtxtPtr ctxt,
196
196
  xmlExpNodePtr expr,
197
197
  const xmlChar**tokList,
198
198
  int len);
199
- XMLPUBFUN xmlExpNodePtr XMLCALL
199
+ XMLPUBFUN xmlExpNodePtr
200
200
  xmlExpStringDerive(xmlExpCtxtPtr ctxt,
201
201
  xmlExpNodePtr expr,
202
202
  const xmlChar *str,
203
203
  int len);
204
- XMLPUBFUN xmlExpNodePtr XMLCALL
204
+ XMLPUBFUN xmlExpNodePtr
205
205
  xmlExpExpDerive (xmlExpCtxtPtr ctxt,
206
206
  xmlExpNodePtr expr,
207
207
  xmlExpNodePtr sub);
208
- XMLPUBFUN int XMLCALL
208
+ XMLPUBFUN int
209
209
  xmlExpSubsume (xmlExpCtxtPtr ctxt,
210
210
  xmlExpNodePtr expr,
211
211
  xmlExpNodePtr sub);
212
- XMLPUBFUN void XMLCALL
212
+ XMLPUBFUN void
213
213
  xmlExpDump (xmlBufferPtr buf,
214
214
  xmlExpNodePtr expr);
215
215
  #endif /* LIBXML_EXPR_ENABLED */