| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | #ifndef __XML_VERSION_H__ |
| | #define __XML_VERSION_H__ |
| |
|
| | #include <libxml/xmlexports.h> |
| |
|
| | #ifdef __cplusplus |
| | extern "C" { |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | #ifndef LIBXML2_COMPILING_MSCCDEF |
| | XMLPUBFUN void xmlCheckVersion(int version); |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #define LIBXML_DOTTED_VERSION "2.11.4" |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #define LIBXML_VERSION 21104 |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #define LIBXML_VERSION_STRING "21104" |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #define LIBXML_VERSION_EXTRA "" |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | #define LIBXML_TEST_VERSION xmlCheckVersion(21104); |
| |
|
| | #ifndef VMS |
| | #if 0 |
| | |
| | |
| | |
| | |
| | |
| | #define WITH_TRIO |
| | #else |
| | |
| | |
| | |
| | |
| | |
| | #define WITHOUT_TRIO |
| | #endif |
| | #else |
| | |
| | |
| | |
| | |
| | |
| | #define WITH_TRIO 1 |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_THREAD_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 0 |
| | #define LIBXML_THREAD_ALLOC_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_TREE_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_OUTPUT_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_PUSH_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_READER_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_PATTERN_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_WRITER_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_SAX1_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_FTP_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_HTTP_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_VALID_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_HTML_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_LEGACY_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_C14N_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_CATALOG_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_XPATH_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_XPTR_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 0 |
| | #define LIBXML_XPTR_LOCS_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_XINCLUDE_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_ICONV_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_ICU_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_ISO8859X_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_DEBUG_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 0 |
| | #define DEBUG_MEMORY_LOCATION |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 0 |
| | #define LIBXML_DEBUG_RUNTIME |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_UNICODE_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_REGEXP_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_AUTOMATA_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | #if 0 |
| | #define LIBXML_EXPR_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_SCHEMAS_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_SCHEMATRON_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_MODULES_ENABLED |
| | |
| | |
| | |
| | |
| | |
| | #define LIBXML_MODULE_EXTENSION ".so" |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_ZLIB_ENABLED |
| | #endif |
| |
|
| | |
| | |
| | |
| | |
| | |
| | #if 1 |
| | #define LIBXML_LZMA_ENABLED |
| | #endif |
| |
|
| | #ifdef __GNUC__ |
| | |
| |
|
| | #ifndef ATTRIBUTE_UNUSED |
| | # if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7))) |
| | # define ATTRIBUTE_UNUSED __attribute__((unused)) |
| | # else |
| | # define ATTRIBUTE_UNUSED |
| | # endif |
| | #endif |
| |
|
| | #ifndef LIBXML_ATTR_ALLOC_SIZE |
| | # if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))) |
| | # define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x))) |
| | # else |
| | # define LIBXML_ATTR_ALLOC_SIZE(x) |
| | # endif |
| | #else |
| | # define LIBXML_ATTR_ALLOC_SIZE(x) |
| | #endif |
| |
|
| | #ifndef LIBXML_ATTR_FORMAT |
| | # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3))) |
| | # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args))) |
| | # else |
| | # define LIBXML_ATTR_FORMAT(fmt,args) |
| | # endif |
| | #else |
| | # define LIBXML_ATTR_FORMAT(fmt,args) |
| | #endif |
| |
|
| | #ifndef XML_DEPRECATED |
| | # if defined (IN_LIBXML) || (__GNUC__ * 100 + __GNUC_MINOR__ < 301) |
| | # define XML_DEPRECATED |
| | |
| | # else |
| | # define XML_DEPRECATED __attribute__((deprecated)) |
| | # endif |
| | #endif |
| |
|
| | #if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 406) |
| | #define XML_IGNORE_FPTR_CAST_WARNINGS \ |
| | _Pragma("GCC diagnostic push") \ |
| | _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \ |
| | _Pragma("GCC diagnostic ignored \"-Wcast-function-type\"") |
| | #define XML_POP_WARNINGS \ |
| | _Pragma("GCC diagnostic pop") |
| | #else |
| | #define XML_IGNORE_FPTR_CAST_WARNINGS |
| | #define XML_POP_WARNINGS |
| | #endif |
| |
|
| | |
| | #else |
| | |
| | |
| | |
| | |
| | |
| | #define ATTRIBUTE_UNUSED |
| | |
| | |
| | |
| | |
| | |
| | #define LIBXML_ATTR_ALLOC_SIZE(x) |
| | |
| | |
| | |
| | |
| | |
| | #define LIBXML_ATTR_FORMAT(fmt,args) |
| | |
| | |
| | |
| | |
| | |
| | |
| | #ifndef XML_DEPRECATED |
| | # if defined (IN_LIBXML) || !defined (_MSC_VER) |
| | # define XML_DEPRECATED |
| | |
| | # elif defined (_MSC_VER) && (_MSC_VER >= 1400) |
| | # define XML_DEPRECATED __declspec(deprecated) |
| | # endif |
| | #endif |
| | |
| | |
| | |
| | |
| | |
| | #if defined (_MSC_VER) && (_MSC_VER >= 1400) |
| | # define XML_IGNORE_FPTR_CAST_WARNINGS __pragma(warning(push)) |
| | #else |
| | # define XML_IGNORE_FPTR_CAST_WARNINGS |
| | #endif |
| | |
| | |
| | |
| | |
| | |
| | #ifndef XML_POP_WARNINGS |
| | # if defined (_MSC_VER) && (_MSC_VER >= 1400) |
| | # define XML_POP_WARNINGS __pragma(warning(pop)) |
| | # else |
| | # define XML_POP_WARNINGS |
| | # endif |
| | #endif |
| | #endif |
| |
|
| | #ifdef __cplusplus |
| | } |
| | #endif |
| | #endif |
| |
|
| |
|
| |
|