10 #ifndef __XML_VERSION_H__
11 #define __XML_VERSION_H__
13 #include <libxml/xmlexports.h>
23 #ifndef LIBXML2_COMPILING_MSCCDEF
32 #define LIBXML_DOTTED_VERSION "2.9.10"
39 #define LIBXML_VERSION 209010
46 #define LIBXML_VERSION_STRING "209010"
53 #define LIBXML_VERSION_EXTRA ""
61 #define LIBXML_TEST_VERSION xmlCheckVersion(209010);
94 #define LIBXML_THREAD_ENABLED
103 #define LIBXML_THREAD_ALLOC_ENABLED
112 #define LIBXML_TREE_ENABLED
121 #define LIBXML_OUTPUT_ENABLED
130 #define LIBXML_PUSH_ENABLED
139 #define LIBXML_READER_ENABLED
148 #define LIBXML_PATTERN_ENABLED
157 #define LIBXML_WRITER_ENABLED
166 #define LIBXML_SAX1_ENABLED
175 #define LIBXML_FTP_ENABLED
184 #define LIBXML_HTTP_ENABLED
193 #define LIBXML_VALID_ENABLED
202 #define LIBXML_HTML_ENABLED
211 #define LIBXML_LEGACY_ENABLED
220 #define LIBXML_C14N_ENABLED
229 #define LIBXML_CATALOG_ENABLED
238 #define LIBXML_DOCB_ENABLED
247 #define LIBXML_XPATH_ENABLED
256 #define LIBXML_XPTR_ENABLED
265 #define LIBXML_XINCLUDE_ENABLED
274 #define LIBXML_ICONV_ENABLED
283 #define LIBXML_ICU_ENABLED
292 #define LIBXML_ISO8859X_ENABLED
301 #define LIBXML_DEBUG_ENABLED
310 #define DEBUG_MEMORY_LOCATION
319 #define LIBXML_DEBUG_RUNTIME
328 #define LIBXML_UNICODE_ENABLED
337 #define LIBXML_REGEXP_ENABLED
346 #define LIBXML_AUTOMATA_ENABLED
357 #define LIBXML_EXPR_ENABLED
366 #define LIBXML_SCHEMAS_ENABLED
375 #define LIBXML_SCHEMATRON_ENABLED
384 #define LIBXML_MODULES_ENABLED
390 #define LIBXML_MODULE_EXTENSION ".so"
399 #define LIBXML_ZLIB_ENABLED
408 #define LIBXML_LZMA_ENABLED
419 #ifndef ATTRIBUTE_UNUSED
420 # if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
421 # define ATTRIBUTE_UNUSED __attribute__((unused))
423 # define ATTRIBUTE_UNUSED
433 #ifndef LIBXML_ATTR_ALLOC_SIZE
434 # if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))))
435 # define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
437 # define LIBXML_ATTR_ALLOC_SIZE(x)
440 # define LIBXML_ATTR_ALLOC_SIZE(x)
449 #ifndef LIBXML_ATTR_FORMAT
450 # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
451 # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
453 # define LIBXML_ATTR_FORMAT(fmt,args)
456 # define LIBXML_ATTR_FORMAT(fmt,args)
465 #define ATTRIBUTE_UNUSED
471 #define LIBXML_ATTR_ALLOC_SIZE(x)
477 #define LIBXML_ATTR_FORMAT(fmt,args)
XMLPUBFUN void XMLCALL xmlCheckVersion(int version)