OSDN Git Service

initial files
[iptd/iPTd_R3.git] / lib / libxml / include / libxml2 / libxml / xmlversion.h
1 /*\r
2  * Summary: compile-time version informations\r
3  * Description: compile-time version informations for the XML library\r
4  *\r
5  * Copy: See Copyright for the status of this software.\r
6  *\r
7  * Author: Daniel Veillard\r
8  */\r
9 \r
10 #ifndef __XML_VERSION_H__\r
11 #define __XML_VERSION_H__\r
12 \r
13 #include <libxml/xmlexports.h>\r
14 \r
15 #ifdef __cplusplus\r
16 extern "C" {\r
17 #endif\r
18 \r
19 /*\r
20  * use those to be sure nothing nasty will happen if\r
21  * your library and includes mismatch\r
22  */\r
23 #ifndef LIBXML2_COMPILING_MSCCDEF\r
24 XMLPUBFUN void XMLCALL xmlCheckVersion(int version);\r
25 #endif /* LIBXML2_COMPILING_MSCCDEF */\r
26 \r
27 /**\r
28  * LIBXML_DOTTED_VERSION:\r
29  *\r
30  * the version string like "1.2.3"\r
31  */\r
32 #define LIBXML_DOTTED_VERSION "2.9.1"\r
33 \r
34 /**\r
35  * LIBXML_VERSION:\r
36  *\r
37  * the version number: 1.2.3 value is 10203\r
38  */\r
39 #define LIBXML_VERSION 20901\r
40 \r
41 /**\r
42  * LIBXML_VERSION_STRING:\r
43  *\r
44  * the version number string, 1.2.3 value is "10203"\r
45  */\r
46 #define LIBXML_VERSION_STRING "20901"\r
47 \r
48 /**\r
49  * LIBXML_VERSION_EXTRA:\r
50  *\r
51  * extra version information, used to show a CVS compilation\r
52  */\r
53 #define LIBXML_VERSION_EXTRA ""\r
54 \r
55 /**\r
56  * LIBXML_TEST_VERSION:\r
57  *\r
58  * Macro to check that the libxml version in use is compatible with\r
59  * the version the software has been compiled against\r
60  */\r
61 #define LIBXML_TEST_VERSION xmlCheckVersion(20901);\r
62 \r
63 #ifndef VMS\r
64 #if 0\r
65 /**\r
66  * WITH_TRIO:\r
67  *\r
68  * defined if the trio support need to be configured in\r
69  */\r
70 #define WITH_TRIO\r
71 #else\r
72 /**\r
73  * WITHOUT_TRIO:\r
74  *\r
75  * defined if the trio support should not be configured in\r
76  */\r
77 #define WITHOUT_TRIO\r
78 #endif\r
79 #else /* VMS */\r
80 /**\r
81  * WITH_TRIO:\r
82  *\r
83  * defined if the trio support need to be configured in\r
84  */\r
85 #define WITH_TRIO 1\r
86 #endif /* VMS */\r
87 \r
88 /**\r
89  * LIBXML_THREAD_ENABLED:\r
90  *\r
91  * Whether the thread support is configured in\r
92  */\r
93 #if 1\r
94 #if defined(_REENTRANT) || defined(__MT__) || \\r
95     (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L))\r
96 #define LIBXML_THREAD_ENABLED\r
97 #endif\r
98 #endif\r
99 \r
100 /**\r
101  * LIBXML_THREAD_ALLOC_ENABLED:\r
102  *\r
103  * Whether the allocation hooks are per-thread\r
104  */\r
105 #if 0\r
106 #define LIBXML_THREAD_ALLOC_ENABLED\r
107 #endif\r
108 \r
109 /**\r
110  * LIBXML_TREE_ENABLED:\r
111  *\r
112  * Whether the DOM like tree manipulation API support is configured in\r
113  */\r
114 #if 1\r
115 #define LIBXML_TREE_ENABLED\r
116 #endif\r
117 \r
118 /**\r
119  * LIBXML_OUTPUT_ENABLED:\r
120  *\r
121  * Whether the serialization/saving support is configured in\r
122  */\r
123 #if 1\r
124 #define LIBXML_OUTPUT_ENABLED\r
125 #endif\r
126 \r
127 /**\r
128  * LIBXML_PUSH_ENABLED:\r
129  *\r
130  * Whether the push parsing interfaces are configured in\r
131  */\r
132 #if 1\r
133 #define LIBXML_PUSH_ENABLED\r
134 #endif\r
135 \r
136 /**\r
137  * LIBXML_READER_ENABLED:\r
138  *\r
139  * Whether the xmlReader parsing interface is configured in\r
140  */\r
141 #if 1\r
142 #define LIBXML_READER_ENABLED\r
143 #endif\r
144 \r
145 /**\r
146  * LIBXML_PATTERN_ENABLED:\r
147  *\r
148  * Whether the xmlPattern node selection interface is configured in\r
149  */\r
150 #if 1\r
151 #define LIBXML_PATTERN_ENABLED\r
152 #endif\r
153 \r
154 /**\r
155  * LIBXML_WRITER_ENABLED:\r
156  *\r
157  * Whether the xmlWriter saving interface is configured in\r
158  */\r
159 #if 1\r
160 #define LIBXML_WRITER_ENABLED\r
161 #endif\r
162 \r
163 /**\r
164  * LIBXML_SAX1_ENABLED:\r
165  *\r
166  * Whether the older SAX1 interface is configured in\r
167  */\r
168 #if 1\r
169 #define LIBXML_SAX1_ENABLED\r
170 #endif\r
171 \r
172 /**\r
173  * LIBXML_FTP_ENABLED:\r
174  *\r
175  * Whether the FTP support is configured in\r
176  */\r
177 #if 0\r
178 #define LIBXML_FTP_ENABLED\r
179 #endif\r
180 \r
181 /**\r
182  * LIBXML_HTTP_ENABLED:\r
183  *\r
184  * Whether the HTTP support is configured in\r
185  */\r
186 #if 0\r
187 #define LIBXML_HTTP_ENABLED\r
188 #endif\r
189 \r
190 /**\r
191  * LIBXML_VALID_ENABLED:\r
192  *\r
193  * Whether the DTD validation support is configured in\r
194  */\r
195 #if 1\r
196 #define LIBXML_VALID_ENABLED\r
197 #endif\r
198 \r
199 /**\r
200  * LIBXML_HTML_ENABLED:\r
201  *\r
202  * Whether the HTML support is configured in\r
203  */\r
204 #if 1\r
205 #define LIBXML_HTML_ENABLED\r
206 #endif\r
207 \r
208 /**\r
209  * LIBXML_LEGACY_ENABLED:\r
210  *\r
211  * Whether the deprecated APIs are compiled in for compatibility\r
212  */\r
213 #if 1\r
214 #define LIBXML_LEGACY_ENABLED\r
215 #endif\r
216 \r
217 /**\r
218  * LIBXML_C14N_ENABLED:\r
219  *\r
220  * Whether the Canonicalization support is configured in\r
221  */\r
222 #if 1\r
223 #define LIBXML_C14N_ENABLED\r
224 #endif\r
225 \r
226 /**\r
227  * LIBXML_CATALOG_ENABLED:\r
228  *\r
229  * Whether the Catalog support is configured in\r
230  */\r
231 #if 1\r
232 #define LIBXML_CATALOG_ENABLED\r
233 #endif\r
234 \r
235 /**\r
236  * LIBXML_DOCB_ENABLED:\r
237  *\r
238  * Whether the SGML Docbook support is configured in\r
239  */\r
240 #if 1\r
241 #define LIBXML_DOCB_ENABLED\r
242 #endif\r
243 \r
244 /**\r
245  * LIBXML_XPATH_ENABLED:\r
246  *\r
247  * Whether XPath is configured in\r
248  */\r
249 #if 1\r
250 #define LIBXML_XPATH_ENABLED\r
251 #endif\r
252 \r
253 /**\r
254  * LIBXML_XPTR_ENABLED:\r
255  *\r
256  * Whether XPointer is configured in\r
257  */\r
258 #if 1\r
259 #define LIBXML_XPTR_ENABLED\r
260 #endif\r
261 \r
262 /**\r
263  * LIBXML_XINCLUDE_ENABLED:\r
264  *\r
265  * Whether XInclude is configured in\r
266  */\r
267 #if 1\r
268 #define LIBXML_XINCLUDE_ENABLED\r
269 #endif\r
270 \r
271 /**\r
272  * LIBXML_ICONV_ENABLED:\r
273  *\r
274  * Whether iconv support is available\r
275  */\r
276 #if 0\r
277 #define LIBXML_ICONV_ENABLED\r
278 #endif\r
279 \r
280 /**\r
281  * LIBXML_ICU_ENABLED:\r
282  *\r
283  * Whether icu support is available\r
284  */\r
285 #if 0\r
286 #define LIBXML_ICU_ENABLED\r
287 #endif\r
288 \r
289 /**\r
290  * LIBXML_ISO8859X_ENABLED:\r
291  *\r
292  * Whether ISO-8859-* support is made available in case iconv is not\r
293  */\r
294 #if 0\r
295 #define LIBXML_ISO8859X_ENABLED\r
296 #endif\r
297 \r
298 /**\r
299  * LIBXML_DEBUG_ENABLED:\r
300  *\r
301  * Whether Debugging module is configured in\r
302  */\r
303 #if 1\r
304 #define LIBXML_DEBUG_ENABLED\r
305 #endif\r
306 \r
307 /**\r
308  * DEBUG_MEMORY_LOCATION:\r
309  *\r
310  * Whether the memory debugging is configured in\r
311  */\r
312 #if 0\r
313 #define DEBUG_MEMORY_LOCATION\r
314 #endif\r
315 \r
316 /**\r
317  * LIBXML_DEBUG_RUNTIME:\r
318  *\r
319  * Whether the runtime debugging is configured in\r
320  */\r
321 #if 0\r
322 #define LIBXML_DEBUG_RUNTIME\r
323 #endif\r
324 \r
325 /**\r
326  * LIBXML_UNICODE_ENABLED:\r
327  *\r
328  * Whether the Unicode related interfaces are compiled in\r
329  */\r
330 #if 1\r
331 #define LIBXML_UNICODE_ENABLED\r
332 #endif\r
333 \r
334 /**\r
335  * LIBXML_REGEXP_ENABLED:\r
336  *\r
337  * Whether the regular expressions interfaces are compiled in\r
338  */\r
339 #if 1\r
340 #define LIBXML_REGEXP_ENABLED\r
341 #endif\r
342 \r
343 /**\r
344  * LIBXML_AUTOMATA_ENABLED:\r
345  *\r
346  * Whether the automata interfaces are compiled in\r
347  */\r
348 #if 1\r
349 #define LIBXML_AUTOMATA_ENABLED\r
350 #endif\r
351 \r
352 /**\r
353  * LIBXML_EXPR_ENABLED:\r
354  *\r
355  * Whether the formal expressions interfaces are compiled in\r
356  */\r
357 #if 1\r
358 #define LIBXML_EXPR_ENABLED\r
359 #endif\r
360 \r
361 /**\r
362  * LIBXML_SCHEMAS_ENABLED:\r
363  *\r
364  * Whether the Schemas validation interfaces are compiled in\r
365  */\r
366 #if 1\r
367 #define LIBXML_SCHEMAS_ENABLED\r
368 #endif\r
369 \r
370 /**\r
371  * LIBXML_SCHEMATRON_ENABLED:\r
372  *\r
373  * Whether the Schematron validation interfaces are compiled in\r
374  */\r
375 #if 1\r
376 #define LIBXML_SCHEMATRON_ENABLED\r
377 #endif\r
378 \r
379 /**\r
380  * LIBXML_MODULES_ENABLED:\r
381  *\r
382  * Whether the module interfaces are compiled in\r
383  */\r
384 #if 1\r
385 #define LIBXML_MODULES_ENABLED\r
386 /**\r
387  * LIBXML_MODULE_EXTENSION:\r
388  *\r
389  * the string suffix used by dynamic modules (usually shared libraries)\r
390  */\r
391 #define LIBXML_MODULE_EXTENSION ".dll" \r
392 #endif\r
393 \r
394 /**\r
395  * LIBXML_ZLIB_ENABLED:\r
396  *\r
397  * Whether the Zlib support is compiled in\r
398  */\r
399 #if 0\r
400 #define LIBXML_ZLIB_ENABLED\r
401 #endif\r
402 \r
403 /**\r
404  * LIBXML_LZMA_ENABLED:\r
405  *\r
406  * Whether the Lzma support is compiled in\r
407  */\r
408 #if 0\r
409 #define LIBXML_LZMA_ENABLED\r
410 #endif\r
411 \r
412 #ifdef __GNUC__\r
413 #ifdef HAVE_ANSIDECL_H\r
414 #include <ansidecl.h>\r
415 #endif\r
416 \r
417 /**\r
418  * ATTRIBUTE_UNUSED:\r
419  *\r
420  * Macro used to signal to GCC unused function parameters\r
421  */\r
422 \r
423 #ifndef ATTRIBUTE_UNUSED\r
424 # if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))\r
425 #  define ATTRIBUTE_UNUSED __attribute__((unused))\r
426 # else\r
427 #  define ATTRIBUTE_UNUSED\r
428 # endif\r
429 #endif\r
430 \r
431 /**\r
432  * LIBXML_ATTR_ALLOC_SIZE:\r
433  *\r
434  * Macro used to indicate to GCC this is an allocator function\r
435  */\r
436 \r
437 #ifndef LIBXML_ATTR_ALLOC_SIZE\r
438 # if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))\r
439 #  define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))\r
440 # else\r
441 #  define LIBXML_ATTR_ALLOC_SIZE(x)\r
442 # endif\r
443 #else\r
444 # define LIBXML_ATTR_ALLOC_SIZE(x)\r
445 #endif\r
446 \r
447 /**\r
448  * LIBXML_ATTR_FORMAT:\r
449  *\r
450  * Macro used to indicate to GCC the parameter are printf like\r
451  */\r
452 \r
453 #ifndef LIBXML_ATTR_FORMAT\r
454 # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))\r
455 #  define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))\r
456 # else\r
457 #  define LIBXML_ATTR_FORMAT(fmt,args)\r
458 # endif\r
459 #else\r
460 # define LIBXML_ATTR_FORMAT(fmt,args)\r
461 #endif\r
462 \r
463 #else /* ! __GNUC__ */\r
464 /**\r
465  * ATTRIBUTE_UNUSED:\r
466  *\r
467  * Macro used to signal to GCC unused function parameters\r
468  */\r
469 #define ATTRIBUTE_UNUSED\r
470 /**\r
471  * LIBXML_ATTR_ALLOC_SIZE:\r
472  *\r
473  * Macro used to indicate to GCC this is an allocator function\r
474  */\r
475 #define LIBXML_ATTR_ALLOC_SIZE(x)\r
476 /**\r
477  * LIBXML_ATTR_FORMAT:\r
478  *\r
479  * Macro used to indicate to GCC the parameter are printf like\r
480  */\r
481 #define LIBXML_ATTR_FORMAT(fmt,args)\r
482 #endif /* __GNUC__ */\r
483 \r
484 #ifdef __cplusplus\r
485 }\r
486 #endif /* __cplusplus */\r
487 #endif\r
488 \r
489 \r