2
* Summary: compile-time version informations
3
* Description: compile-time version informations for the XML library
5
* Copy: See Copyright for the status of this software.
7
* Author: Daniel Veillard
10
#ifndef __XML_VERSION_H__
11
#define __XML_VERSION_H__
13
#include <libxml/xmlexports.h>
20
* use those to be sure nothing nasty will happen if
21
* your library and includes mismatch
23
#ifndef LIBXML2_COMPILING_MSCCDEF
24
XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
25
#endif /* LIBXML2_COMPILING_MSCCDEF */
28
* LIBXML_DOTTED_VERSION:
30
* the version string like "1.2.3"
32
#define LIBXML_DOTTED_VERSION "2.6.17"
37
* the version number: 1.2.3 value is 1002003
39
#define LIBXML_VERSION 20617
42
* LIBXML_VERSION_STRING:
44
* the version number string, 1.2.3 value is "1002003"
46
#define LIBXML_VERSION_STRING "20617"
49
* LIBXML_VERSION_EXTRA:
51
* extra version information, used to show a CVS compilation
53
#define LIBXML_VERSION_EXTRA "CVS2313"
56
* LIBXML_TEST_VERSION:
58
* Macro to check that the libxml version in use is compatible with
59
* the version the software has been compiled against
61
#define LIBXML_TEST_VERSION xmlCheckVersion(20617);
68
* defined if the trio support need to be configured in
75
* defined if the trio support should not be configured in
83
* defined if the trio support need to be configured in
89
* LIBXML_THREAD_ENABLED:
91
* Whether the thread support is configured in
94
#if defined(_REENTRANT) || defined(__MT__) || (_POSIX_C_SOURCE - 0 >= 199506L)
95
#define LIBXML_THREAD_ENABLED
100
* LIBXML_TREE_ENABLED:
102
* Whether the DOM like tree manipulation API support is configured in
105
#define LIBXML_TREE_ENABLED
109
* LIBXML_OUTPUT_ENABLED:
111
* Whether the serialization/saving support is configured in
114
#define LIBXML_OUTPUT_ENABLED
118
* LIBXML_PUSH_ENABLED:
120
* Whether the push parsing interfaces are configured in
123
#define LIBXML_PUSH_ENABLED
127
* LIBXML_READER_ENABLED:
129
* Whether the xmlReader parsing interface is configured in
132
#define LIBXML_READER_ENABLED
136
* LIBXML_PATTERN_ENABLED:
138
* Whether the xmlPattern node selection interface is configured in
141
#define LIBXML_PATTERN_ENABLED
145
* LIBXML_WRITER_ENABLED:
147
* Whether the xmlWriter saving interface is configured in
150
#define LIBXML_WRITER_ENABLED
154
* LIBXML_SAX1_ENABLED:
156
* Whether the older SAX1 interface is configured in
159
#define LIBXML_SAX1_ENABLED
163
* LIBXML_FTP_ENABLED:
165
* Whether the FTP support is configured in
168
#define LIBXML_FTP_ENABLED
172
* LIBXML_HTTP_ENABLED:
174
* Whether the HTTP support is configured in
177
#define LIBXML_HTTP_ENABLED
181
* LIBXML_VALID_ENABLED:
183
* Whether the DTD validation support is configured in
186
#define LIBXML_VALID_ENABLED
190
* LIBXML_HTML_ENABLED:
192
* Whether the HTML support is configured in
195
#define LIBXML_HTML_ENABLED
199
* LIBXML_LEGACY_ENABLED:
201
* Whether the deprecated APIs are compiled in for compatibility
204
#define LIBXML_LEGACY_ENABLED
208
* LIBXML_C14N_ENABLED:
210
* Whether the Canonicalization support is configured in
213
#define LIBXML_C14N_ENABLED
217
* LIBXML_CATALOG_ENABLED:
219
* Whether the Catalog support is configured in
222
#define LIBXML_CATALOG_ENABLED
226
* LIBXML_DOCB_ENABLED:
228
* Whether the SGML Docbook support is configured in
231
#define LIBXML_DOCB_ENABLED
235
* LIBXML_XPATH_ENABLED:
237
* Whether XPath is configured in
240
#define LIBXML_XPATH_ENABLED
244
* LIBXML_XPTR_ENABLED:
246
* Whether XPointer is configured in
249
#define LIBXML_XPTR_ENABLED
253
* LIBXML_XINCLUDE_ENABLED:
255
* Whether XInclude is configured in
258
#define LIBXML_XINCLUDE_ENABLED
262
* LIBXML_ICONV_ENABLED:
264
* Whether iconv support is available
267
#define LIBXML_ICONV_ENABLED
271
* LIBXML_ISO8859X_ENABLED:
273
* Whether ISO-8859-* support is made available in case iconv is not
276
#define LIBXML_ISO8859X_ENABLED
280
* LIBXML_DEBUG_ENABLED:
282
* Whether Debugging module is configured in
285
#define LIBXML_DEBUG_ENABLED
289
* DEBUG_MEMORY_LOCATION:
291
* Whether the memory debugging is configured in
294
#define DEBUG_MEMORY_LOCATION
298
* LIBXML_DEBUG_RUNTIME:
300
* Whether the runtime debugging is configured in
303
#define LIBXML_DEBUG_RUNTIME
307
* LIBXML_UNICODE_ENABLED:
309
* Whether the Unicode related interfaces are compiled in
312
#define LIBXML_UNICODE_ENABLED
316
* LIBXML_REGEXP_ENABLED:
318
* Whether the regular expressions interfaces are compiled in
321
#define LIBXML_REGEXP_ENABLED
325
* LIBXML_AUTOMATA_ENABLED:
327
* Whether the automata interfaces are compiled in
330
#define LIBXML_AUTOMATA_ENABLED
334
* LIBXML_SCHEMAS_ENABLED:
336
* Whether the Schemas validation interfaces are compiled in
339
#define LIBXML_SCHEMAS_ENABLED
343
* LIBXML_MODULES_ENABLED:
345
* Whether the module interfaces are compiled in
348
#define LIBXML_MODULES_ENABLED
349
#define LIBXML_MODULE_EXTENSION ".dll"
355
* Macro used to signal to GCC unused function parameters
358
#ifdef HAVE_ANSIDECL_H
359
#include <ansidecl.h>
361
#ifndef ATTRIBUTE_UNUSED
362
#define ATTRIBUTE_UNUSED __attribute__((unused))
365
#define ATTRIBUTE_UNUSED
370
#endif /* __cplusplus */