1 | /*
|
---|
2 | * Summary: compile-time version informations
|
---|
3 | * Description: compile-time version informations for the XML library
|
---|
4 | *
|
---|
5 | * Copy: See Copyright for the status of this software.
|
---|
6 | *
|
---|
7 | * Author: Daniel Veillard
|
---|
8 | */
|
---|
9 |
|
---|
10 | #ifndef __XML_VERSION_H__
|
---|
11 | #define __XML_VERSION_H__
|
---|
12 |
|
---|
13 | #include <libxml/xmlexports.h>
|
---|
14 |
|
---|
15 | #ifdef __cplusplus
|
---|
16 | extern "C" {
|
---|
17 | #endif
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * use those to be sure nothing nasty will happen if
|
---|
21 | * your library and includes mismatch
|
---|
22 | */
|
---|
23 | #ifndef LIBXML2_COMPILING_MSCCDEF
|
---|
24 | XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
|
---|
25 | #endif /* LIBXML2_COMPILING_MSCCDEF */
|
---|
26 |
|
---|
27 | /**
|
---|
28 | * LIBXML_DOTTED_VERSION:
|
---|
29 | *
|
---|
30 | * the version string like "1.2.3"
|
---|
31 | */
|
---|
32 | #define LIBXML_DOTTED_VERSION "2.6.19"
|
---|
33 |
|
---|
34 | /**
|
---|
35 | * LIBXML_VERSION:
|
---|
36 | *
|
---|
37 | * the version number: 1.2.3 value is 1002003
|
---|
38 | */
|
---|
39 | #define LIBXML_VERSION 20619
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * LIBXML_VERSION_STRING:
|
---|
43 | *
|
---|
44 | * the version number string, 1.2.3 value is "1002003"
|
---|
45 | */
|
---|
46 | #define LIBXML_VERSION_STRING "20619"
|
---|
47 |
|
---|
48 | /**
|
---|
49 | * LIBXML_VERSION_EXTRA:
|
---|
50 | *
|
---|
51 | * extra version information, used to show a CVS compilation
|
---|
52 | */
|
---|
53 | #define LIBXML_VERSION_EXTRA ""
|
---|
54 |
|
---|
55 | /**
|
---|
56 | * LIBXML_TEST_VERSION:
|
---|
57 | *
|
---|
58 | * Macro to check that the libxml version in use is compatible with
|
---|
59 | * the version the software has been compiled against
|
---|
60 | */
|
---|
61 | #define LIBXML_TEST_VERSION xmlCheckVersion(20619);
|
---|
62 |
|
---|
63 | #ifndef VMS
|
---|
64 | #if 0
|
---|
65 | /**
|
---|
66 | * WITH_TRIO:
|
---|
67 | *
|
---|
68 | * defined if the trio support need to be configured in
|
---|
69 | */
|
---|
70 | #define WITH_TRIO
|
---|
71 | #else
|
---|
72 | /**
|
---|
73 | * WITHOUT_TRIO:
|
---|
74 | *
|
---|
75 | * defined if the trio support should not be configured in
|
---|
76 | */
|
---|
77 | #define WITHOUT_TRIO
|
---|
78 | #endif
|
---|
79 | #else /* VMS */
|
---|
80 | /**
|
---|
81 | * WITH_TRIO:
|
---|
82 | *
|
---|
83 | * defined if the trio support need to be configured in
|
---|
84 | */
|
---|
85 | #define WITH_TRIO 1
|
---|
86 | #endif /* VMS */
|
---|
87 |
|
---|
88 | /**
|
---|
89 | * LIBXML_THREAD_ENABLED:
|
---|
90 | *
|
---|
91 | * Whether the thread support is configured in
|
---|
92 | */
|
---|
93 | #if 0
|
---|
94 | #if defined(_REENTRANT) || defined(__MT__) || (_POSIX_C_SOURCE - 0 >= 199506L)
|
---|
95 | #define LIBXML_THREAD_ENABLED
|
---|
96 | #endif
|
---|
97 | #endif
|
---|
98 |
|
---|
99 | /**
|
---|
100 | * LIBXML_TREE_ENABLED:
|
---|
101 | *
|
---|
102 | * Whether the DOM like tree manipulation API support is configured in
|
---|
103 | */
|
---|
104 | #if 1
|
---|
105 | #define LIBXML_TREE_ENABLED
|
---|
106 | #endif
|
---|
107 |
|
---|
108 | /**
|
---|
109 | * LIBXML_OUTPUT_ENABLED:
|
---|
110 | *
|
---|
111 | * Whether the serialization/saving support is configured in
|
---|
112 | */
|
---|
113 | #if 1
|
---|
114 | #define LIBXML_OUTPUT_ENABLED
|
---|
115 | #endif
|
---|
116 |
|
---|
117 | /**
|
---|
118 | * LIBXML_PUSH_ENABLED:
|
---|
119 | *
|
---|
120 | * Whether the push parsing interfaces are configured in
|
---|
121 | */
|
---|
122 | #if 1
|
---|
123 | #define LIBXML_PUSH_ENABLED
|
---|
124 | #endif
|
---|
125 |
|
---|
126 | /**
|
---|
127 | * LIBXML_READER_ENABLED:
|
---|
128 | *
|
---|
129 | * Whether the xmlReader parsing interface is configured in
|
---|
130 | */
|
---|
131 | #if 1
|
---|
132 | #define LIBXML_READER_ENABLED
|
---|
133 | #endif
|
---|
134 |
|
---|
135 | /**
|
---|
136 | * LIBXML_PATTERN_ENABLED:
|
---|
137 | *
|
---|
138 | * Whether the xmlPattern node selection interface is configured in
|
---|
139 | */
|
---|
140 | #if 0
|
---|
141 | #define LIBXML_PATTERN_ENABLED
|
---|
142 | #endif
|
---|
143 |
|
---|
144 | /**
|
---|
145 | * LIBXML_WRITER_ENABLED:
|
---|
146 | *
|
---|
147 | * Whether the xmlWriter saving interface is configured in
|
---|
148 | */
|
---|
149 | #if 1
|
---|
150 | #define LIBXML_WRITER_ENABLED
|
---|
151 | #endif
|
---|
152 |
|
---|
153 | /**
|
---|
154 | * LIBXML_SAX1_ENABLED:
|
---|
155 | *
|
---|
156 | * Whether the older SAX1 interface is configured in
|
---|
157 | */
|
---|
158 | #if 1
|
---|
159 | #define LIBXML_SAX1_ENABLED
|
---|
160 | #endif
|
---|
161 |
|
---|
162 | /**
|
---|
163 | * LIBXML_FTP_ENABLED:
|
---|
164 | *
|
---|
165 | * Whether the FTP support is configured in
|
---|
166 | */
|
---|
167 | #if 0
|
---|
168 | #define LIBXML_FTP_ENABLED
|
---|
169 | #endif
|
---|
170 |
|
---|
171 | /**
|
---|
172 | * LIBXML_HTTP_ENABLED:
|
---|
173 | *
|
---|
174 | * Whether the HTTP support is configured in
|
---|
175 | */
|
---|
176 | #if 0
|
---|
177 | #define LIBXML_HTTP_ENABLED
|
---|
178 | #endif
|
---|
179 |
|
---|
180 | /**
|
---|
181 | * LIBXML_VALID_ENABLED:
|
---|
182 | *
|
---|
183 | * Whether the DTD validation support is configured in
|
---|
184 | */
|
---|
185 | #if 0
|
---|
186 | #define LIBXML_VALID_ENABLED
|
---|
187 | #endif
|
---|
188 |
|
---|
189 | /**
|
---|
190 | * LIBXML_HTML_ENABLED:
|
---|
191 | *
|
---|
192 | * Whether the HTML support is configured in
|
---|
193 | */
|
---|
194 | #if 0
|
---|
195 | #define LIBXML_HTML_ENABLED
|
---|
196 | #endif
|
---|
197 |
|
---|
198 | /**
|
---|
199 | * LIBXML_LEGACY_ENABLED:
|
---|
200 | *
|
---|
201 | * Whether the deprecated APIs are compiled in for compatibility
|
---|
202 | */
|
---|
203 | #if 0
|
---|
204 | #define LIBXML_LEGACY_ENABLED
|
---|
205 | #endif
|
---|
206 |
|
---|
207 | /**
|
---|
208 | * LIBXML_C14N_ENABLED:
|
---|
209 | *
|
---|
210 | * Whether the Canonicalization support is configured in
|
---|
211 | */
|
---|
212 | #if 0
|
---|
213 | #define LIBXML_C14N_ENABLED
|
---|
214 | #endif
|
---|
215 |
|
---|
216 | /**
|
---|
217 | * LIBXML_CATALOG_ENABLED:
|
---|
218 | *
|
---|
219 | * Whether the Catalog support is configured in
|
---|
220 | */
|
---|
221 | #if 0
|
---|
222 | #define LIBXML_CATALOG_ENABLED
|
---|
223 | #endif
|
---|
224 |
|
---|
225 | /**
|
---|
226 | * LIBXML_DOCB_ENABLED:
|
---|
227 | *
|
---|
228 | * Whether the SGML Docbook support is configured in
|
---|
229 | */
|
---|
230 | #if 0
|
---|
231 | #define LIBXML_DOCB_ENABLED
|
---|
232 | #endif
|
---|
233 |
|
---|
234 | /**
|
---|
235 | * LIBXML_XPATH_ENABLED:
|
---|
236 | *
|
---|
237 | * Whether XPath is configured in
|
---|
238 | */
|
---|
239 | #if 0
|
---|
240 | #define LIBXML_XPATH_ENABLED
|
---|
241 | #endif
|
---|
242 |
|
---|
243 | /**
|
---|
244 | * LIBXML_XPTR_ENABLED:
|
---|
245 | *
|
---|
246 | * Whether XPointer is configured in
|
---|
247 | */
|
---|
248 | #if 0
|
---|
249 | #define LIBXML_XPTR_ENABLED
|
---|
250 | #endif
|
---|
251 |
|
---|
252 | /**
|
---|
253 | * LIBXML_XINCLUDE_ENABLED:
|
---|
254 | *
|
---|
255 | * Whether XInclude is configured in
|
---|
256 | */
|
---|
257 | #if 0
|
---|
258 | #define LIBXML_XINCLUDE_ENABLED
|
---|
259 | #endif
|
---|
260 |
|
---|
261 | /**
|
---|
262 | * LIBXML_ICONV_ENABLED:
|
---|
263 | *
|
---|
264 | * Whether iconv support is available
|
---|
265 | */
|
---|
266 | #if 0
|
---|
267 | #define LIBXML_ICONV_ENABLED
|
---|
268 | #endif
|
---|
269 |
|
---|
270 | /**
|
---|
271 | * LIBXML_ISO8859X_ENABLED:
|
---|
272 | *
|
---|
273 | * Whether ISO-8859-* support is made available in case iconv is not
|
---|
274 | */
|
---|
275 | #if 0
|
---|
276 | #define LIBXML_ISO8859X_ENABLED
|
---|
277 | #endif
|
---|
278 |
|
---|
279 | /**
|
---|
280 | * LIBXML_DEBUG_ENABLED:
|
---|
281 | *
|
---|
282 | * Whether Debugging module is configured in
|
---|
283 | */
|
---|
284 | #if 0
|
---|
285 | #define LIBXML_DEBUG_ENABLED
|
---|
286 | #endif
|
---|
287 |
|
---|
288 | /**
|
---|
289 | * DEBUG_MEMORY_LOCATION:
|
---|
290 | *
|
---|
291 | * Whether the memory debugging is configured in
|
---|
292 | */
|
---|
293 | #if 0
|
---|
294 | #define DEBUG_MEMORY_LOCATION
|
---|
295 | #endif
|
---|
296 |
|
---|
297 | /**
|
---|
298 | * LIBXML_DEBUG_RUNTIME:
|
---|
299 | *
|
---|
300 | * Whether the runtime debugging is configured in
|
---|
301 | */
|
---|
302 | #if 0
|
---|
303 | #define LIBXML_DEBUG_RUNTIME
|
---|
304 | #endif
|
---|
305 |
|
---|
306 | /**
|
---|
307 | * LIBXML_UNICODE_ENABLED:
|
---|
308 | *
|
---|
309 | * Whether the Unicode related interfaces are compiled in
|
---|
310 | */
|
---|
311 | #if 1
|
---|
312 | #define LIBXML_UNICODE_ENABLED
|
---|
313 | #endif
|
---|
314 |
|
---|
315 | /**
|
---|
316 | * LIBXML_REGEXP_ENABLED:
|
---|
317 | *
|
---|
318 | * Whether the regular expressions interfaces are compiled in
|
---|
319 | */
|
---|
320 | #if 0
|
---|
321 | #define LIBXML_REGEXP_ENABLED
|
---|
322 | #endif
|
---|
323 |
|
---|
324 | /**
|
---|
325 | * LIBXML_AUTOMATA_ENABLED:
|
---|
326 | *
|
---|
327 | * Whether the automata interfaces are compiled in
|
---|
328 | */
|
---|
329 | #if 0
|
---|
330 | #define LIBXML_AUTOMATA_ENABLED
|
---|
331 | #endif
|
---|
332 |
|
---|
333 | /**
|
---|
334 | * LIBXML_SCHEMAS_ENABLED:
|
---|
335 | *
|
---|
336 | * Whether the Schemas validation interfaces are compiled in
|
---|
337 | */
|
---|
338 | #if 0
|
---|
339 | #define LIBXML_SCHEMAS_ENABLED
|
---|
340 | #endif
|
---|
341 |
|
---|
342 | /**
|
---|
343 | * LIBXML_MODULES_ENABLED:
|
---|
344 | *
|
---|
345 | * Whether the module interfaces are compiled in
|
---|
346 | */
|
---|
347 | #if 0
|
---|
348 | #define LIBXML_MODULES_ENABLED
|
---|
349 | #define LIBXML_MODULE_EXTENSION ".dll"
|
---|
350 | #endif
|
---|
351 |
|
---|
352 | /**
|
---|
353 | * ATTRIBUTE_UNUSED:
|
---|
354 | *
|
---|
355 | * Macro used to signal to GCC unused function parameters
|
---|
356 | */
|
---|
357 | #ifdef __GNUC__
|
---|
358 | #ifdef HAVE_ANSIDECL_H
|
---|
359 | #include <ansidecl.h>
|
---|
360 | #endif
|
---|
361 | #ifndef ATTRIBUTE_UNUSED
|
---|
362 | #define ATTRIBUTE_UNUSED __attribute__((unused))
|
---|
363 | #endif
|
---|
364 | #else
|
---|
365 | #define ATTRIBUTE_UNUSED
|
---|
366 | #endif
|
---|
367 |
|
---|
368 | #ifdef __cplusplus
|
---|
369 | }
|
---|
370 | #endif /* __cplusplus */
|
---|
371 | #endif
|
---|
372 |
|
---|
373 |
|
---|