Something went wrong. Try again.
Reactos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510/* * Summary: compile-time version information * Description: compile-time version information for the XML library * * Copy: See Copyright for the status of this software. * * Author: Daniel Veillard */
#ifndef __XML_VERSION_H__#define __XML_VERSION_H__
#include <libxml/xmlexports.h>
#ifdef __cplusplusextern "C" {#endif
/* * use those to be sure nothing nasty will happen if * your library and includes mismatch */#ifndef LIBXML2_COMPILING_MSCCDEFXMLPUBFUN void xmlCheckVersion(int version);#endif /* LIBXML2_COMPILING_MSCCDEF */
/** * LIBXML_DOTTED_VERSION: * * the version string like "1.2.3" */#define LIBXML_DOTTED_VERSION "2.12.8"
/** * LIBXML_VERSION: * * the version number: 1.2.3 value is 10203 */#define LIBXML_VERSION 21208
/** * LIBXML_VERSION_STRING: * * the version number string, 1.2.3 value is "10203" */#define LIBXML_VERSION_STRING "21208"
/** * LIBXML_VERSION_EXTRA: * * extra version information, used to show a git commit description */#define LIBXML_VERSION_EXTRA ""
/** * LIBXML_TEST_VERSION: * * Macro to check that the libxml version in use is compatible with * the version the software has been compiled against */#define LIBXML_TEST_VERSION xmlCheckVersion(21208);
#ifndef VMS#if 0/** * WITH_TRIO: * * defined if the trio support need to be configured in */#define WITH_TRIO#else/** * WITHOUT_TRIO: * * defined if the trio support should not be configured in */#define WITHOUT_TRIO#endif#else /* VMS *//** * WITH_TRIO: * * defined if the trio support need to be configured in */#define WITH_TRIO 1#endif /* VMS */
/** * LIBXML_THREAD_ENABLED: * * Whether the thread support is configured in */#if 1#define LIBXML_THREAD_ENABLED#endif
/** * LIBXML_THREAD_ALLOC_ENABLED: * * Whether the allocation hooks are per-thread */#if 0#define LIBXML_THREAD_ALLOC_ENABLED#endif
/** * LIBXML_TREE_ENABLED: * * Whether the DOM like tree manipulation API support is configured in */#if 1#define LIBXML_TREE_ENABLED#endif
/** * LIBXML_OUTPUT_ENABLED: * * Whether the serialization/saving support is configured in */#if 1#define LIBXML_OUTPUT_ENABLED#endif
/** * LIBXML_PUSH_ENABLED: * * Whether the push parsing interfaces are configured in */#if 1#define LIBXML_PUSH_ENABLED#endif
/** * LIBXML_READER_ENABLED: * * Whether the xmlReader parsing interface is configured in */#if 1#define LIBXML_READER_ENABLED#endif
/** * LIBXML_PATTERN_ENABLED: * * Whether the xmlPattern node selection interface is configured in */#if 1#define LIBXML_PATTERN_ENABLED#endif
/** * LIBXML_WRITER_ENABLED: * * Whether the xmlWriter saving interface is configured in */#if 1#define LIBXML_WRITER_ENABLED#endif
/** * LIBXML_SAX1_ENABLED: * * Whether the older SAX1 interface is configured in */#if 1#define LIBXML_SAX1_ENABLED#endif
/** * LIBXML_FTP_ENABLED: * * Whether the FTP support is configured in */#if 0#define LIBXML_FTP_ENABLED#endif
/** * LIBXML_HTTP_ENABLED: * * Whether the HTTP support is configured in */#if 0#define LIBXML_HTTP_ENABLED#endif
/** * LIBXML_VALID_ENABLED: * * Whether the DTD validation support is configured in */#if 1#define LIBXML_VALID_ENABLED#endif
/** * LIBXML_HTML_ENABLED: * * Whether the HTML support is configured in */#if 1#define LIBXML_HTML_ENABLED#endif
/** * LIBXML_LEGACY_ENABLED: * * Whether the deprecated APIs are compiled in for compatibility */#if 0#define LIBXML_LEGACY_ENABLED#endif
/** * LIBXML_C14N_ENABLED: * * Whether the Canonicalization support is configured in */#if 1#define LIBXML_C14N_ENABLED#endif
/** * LIBXML_CATALOG_ENABLED: * * Whether the Catalog support is configured in */#if 1#define LIBXML_CATALOG_ENABLED#endif
/** * LIBXML_XPATH_ENABLED: * * Whether XPath is configured in */#if 1#define LIBXML_XPATH_ENABLED#endif
/** * LIBXML_XPTR_ENABLED: * * Whether XPointer is configured in */#if 1#define LIBXML_XPTR_ENABLED#endif
/** * LIBXML_XPTR_LOCS_ENABLED: * * Whether support for XPointer locations is configured in */#if 0#define LIBXML_XPTR_LOCS_ENABLED#endif
/** * LIBXML_XINCLUDE_ENABLED: * * Whether XInclude is configured in */#if 1#define LIBXML_XINCLUDE_ENABLED#endif
/** * LIBXML_ICONV_ENABLED: * * Whether iconv support is available */#if 0#define LIBXML_ICONV_ENABLED#endif
/** * LIBXML_ICU_ENABLED: * * Whether icu support is available */#if 0#define LIBXML_ICU_ENABLED#endif
/** * LIBXML_ISO8859X_ENABLED: * * Whether ISO-8859-* support is made available in case iconv is not */#if 1#define LIBXML_ISO8859X_ENABLED#endif
/** * LIBXML_DEBUG_ENABLED: * * Whether Debugging module is configured in */#if 1#define LIBXML_DEBUG_ENABLED#endif
/** * DEBUG_MEMORY_LOCATION: * * Whether the memory debugging is configured in */#if 0#define DEBUG_MEMORY_LOCATION#endif
/** * LIBXML_DEBUG_RUNTIME: * * Removed */#if 0#define LIBXML_DEBUG_RUNTIME#endif
/** * LIBXML_UNICODE_ENABLED: * * Whether the Unicode related interfaces are compiled in */#if 1#define LIBXML_UNICODE_ENABLED#endif
/** * LIBXML_REGEXP_ENABLED: * * Whether the regular expressions interfaces are compiled in */#if 1#define LIBXML_REGEXP_ENABLED#endif
/** * LIBXML_AUTOMATA_ENABLED: * * Whether the automata interfaces are compiled in */#if 1#define LIBXML_AUTOMATA_ENABLED#endif
/** * LIBXML_EXPR_ENABLED: * * Whether the formal expressions interfaces are compiled in * * This code is unused and disabled unconditionally for now. */#if 0#define LIBXML_EXPR_ENABLED#endif
/** * LIBXML_SCHEMAS_ENABLED: * * Whether the Schemas validation interfaces are compiled in */#if 1#define LIBXML_SCHEMAS_ENABLED#endif
/** * LIBXML_SCHEMATRON_ENABLED: * * Whether the Schematron validation interfaces are compiled in */#if 1#define LIBXML_SCHEMATRON_ENABLED#endif
/** * LIBXML_MODULES_ENABLED: * * Whether the module interfaces are compiled in */#if 0#define LIBXML_MODULES_ENABLED/** * LIBXML_MODULE_EXTENSION: * * the string suffix used by dynamic modules (usually shared libraries) */#define LIBXML_MODULE_EXTENSION ".dll"#endif
/** * LIBXML_ZLIB_ENABLED: * * Whether the Zlib support is compiled in */#if 0#define LIBXML_ZLIB_ENABLED#endif
/** * LIBXML_LZMA_ENABLED: * * Whether the Lzma support is compiled in */#if 0#define LIBXML_LZMA_ENABLED#endif
#ifdef __GNUC__/** DOC_DISABLE */
#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/* Available since at least GCC 3.1 */# else# define XML_DEPRECATED __attribute__((deprecated))# endif#endif
#if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 406) #if defined(__clang__) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 800) #define XML_IGNORE_FPTR_CAST_WARNINGS \ _Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \ _Pragma("GCC diagnostic ignored \"-Wcast-function-type\"") #else #define XML_IGNORE_FPTR_CAST_WARNINGS \ _Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic ignored \"-Wpedantic\"") #endif #define XML_POP_WARNINGS \ _Pragma("GCC diagnostic pop")#else #define XML_IGNORE_FPTR_CAST_WARNINGS #define XML_POP_WARNINGS#endif
#else /* ! __GNUC__ */#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/* Available since Visual Studio 2005 */# 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 /* __GNUC__ */
#define XML_NO_ATTR
#ifdef LIBXML_THREAD_ENABLED #define XML_DECLARE_GLOBAL(name, type, attrs) \ attrs XMLPUBFUN type *__##name(void); #define XML_GLOBAL_MACRO(name) (*__##name())#else #define XML_DECLARE_GLOBAL(name, type, attrs) \ attrs XMLPUBVAR type name;#endif
#ifdef __cplusplus}#endif /* __cplusplus */#endif