Path: blob/master/venv/Lib/site-packages/lxml/includes/libxml/xmlversion.h
811 views
/*1* Summary: compile-time version informations2* Description: compile-time version informations for the XML library3*4* Copy: See Copyright for the status of this software.5*6* Author: Daniel Veillard7*/89#ifndef __XML_VERSION_H__10#define __XML_VERSION_H__1112#include <libxml/xmlexports.h>1314#ifdef __cplusplus15extern "C" {16#endif1718/*19* use those to be sure nothing nasty will happen if20* your library and includes mismatch21*/22#ifndef LIBXML2_COMPILING_MSCCDEF23XMLPUBFUN void XMLCALL xmlCheckVersion(int version);24#endif /* LIBXML2_COMPILING_MSCCDEF */2526/**27* LIBXML_DOTTED_VERSION:28*29* the version string like "1.2.3"30*/31#define LIBXML_DOTTED_VERSION "2.9.5"3233/**34* LIBXML_VERSION:35*36* the version number: 1.2.3 value is 1020337*/38#define LIBXML_VERSION 209053940/**41* LIBXML_VERSION_STRING:42*43* the version number string, 1.2.3 value is "10203"44*/45#define LIBXML_VERSION_STRING "20905"4647/**48* LIBXML_VERSION_EXTRA:49*50* extra version information, used to show a CVS compilation51*/52#define LIBXML_VERSION_EXTRA ""5354/**55* LIBXML_TEST_VERSION:56*57* Macro to check that the libxml version in use is compatible with58* the version the software has been compiled against59*/60#define LIBXML_TEST_VERSION xmlCheckVersion(20905);6162#ifndef VMS63#if 064/**65* WITH_TRIO:66*67* defined if the trio support need to be configured in68*/69#define WITH_TRIO70#else71/**72* WITHOUT_TRIO:73*74* defined if the trio support should not be configured in75*/76#define WITHOUT_TRIO77#endif78#else /* VMS */79/**80* WITH_TRIO:81*82* defined if the trio support need to be configured in83*/84#define WITH_TRIO 185#endif /* VMS */8687/**88* LIBXML_THREAD_ENABLED:89*90* Whether the thread support is configured in91*/92#if 193#if defined(_REENTRANT) || defined(__MT__) || \94(defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L))95#define LIBXML_THREAD_ENABLED96#endif97#endif9899/**100* LIBXML_THREAD_ALLOC_ENABLED:101*102* Whether the allocation hooks are per-thread103*/104#if 0105#define LIBXML_THREAD_ALLOC_ENABLED106#endif107108/**109* LIBXML_TREE_ENABLED:110*111* Whether the DOM like tree manipulation API support is configured in112*/113#if 1114#define LIBXML_TREE_ENABLED115#endif116117/**118* LIBXML_OUTPUT_ENABLED:119*120* Whether the serialization/saving support is configured in121*/122#if 1123#define LIBXML_OUTPUT_ENABLED124#endif125126/**127* LIBXML_PUSH_ENABLED:128*129* Whether the push parsing interfaces are configured in130*/131#if 1132#define LIBXML_PUSH_ENABLED133#endif134135/**136* LIBXML_READER_ENABLED:137*138* Whether the xmlReader parsing interface is configured in139*/140#if 1141#define LIBXML_READER_ENABLED142#endif143144/**145* LIBXML_PATTERN_ENABLED:146*147* Whether the xmlPattern node selection interface is configured in148*/149#if 1150#define LIBXML_PATTERN_ENABLED151#endif152153/**154* LIBXML_WRITER_ENABLED:155*156* Whether the xmlWriter saving interface is configured in157*/158#if 1159#define LIBXML_WRITER_ENABLED160#endif161162/**163* LIBXML_SAX1_ENABLED:164*165* Whether the older SAX1 interface is configured in166*/167#if 1168#define LIBXML_SAX1_ENABLED169#endif170171/**172* LIBXML_FTP_ENABLED:173*174* Whether the FTP support is configured in175*/176#if 1177#define LIBXML_FTP_ENABLED178#endif179180/**181* LIBXML_HTTP_ENABLED:182*183* Whether the HTTP support is configured in184*/185#if 1186#define LIBXML_HTTP_ENABLED187#endif188189/**190* LIBXML_VALID_ENABLED:191*192* Whether the DTD validation support is configured in193*/194#if 1195#define LIBXML_VALID_ENABLED196#endif197198/**199* LIBXML_HTML_ENABLED:200*201* Whether the HTML support is configured in202*/203#if 1204#define LIBXML_HTML_ENABLED205#endif206207/**208* LIBXML_LEGACY_ENABLED:209*210* Whether the deprecated APIs are compiled in for compatibility211*/212#if 1213#define LIBXML_LEGACY_ENABLED214#endif215216/**217* LIBXML_C14N_ENABLED:218*219* Whether the Canonicalization support is configured in220*/221#if 1222#define LIBXML_C14N_ENABLED223#endif224225/**226* LIBXML_CATALOG_ENABLED:227*228* Whether the Catalog support is configured in229*/230#if 1231#define LIBXML_CATALOG_ENABLED232#endif233234/**235* LIBXML_DOCB_ENABLED:236*237* Whether the SGML Docbook support is configured in238*/239#if 1240#define LIBXML_DOCB_ENABLED241#endif242243/**244* LIBXML_XPATH_ENABLED:245*246* Whether XPath is configured in247*/248#if 1249#define LIBXML_XPATH_ENABLED250#endif251252/**253* LIBXML_XPTR_ENABLED:254*255* Whether XPointer is configured in256*/257#if 1258#define LIBXML_XPTR_ENABLED259#endif260261/**262* LIBXML_XINCLUDE_ENABLED:263*264* Whether XInclude is configured in265*/266#if 1267#define LIBXML_XINCLUDE_ENABLED268#endif269270/**271* LIBXML_ICONV_ENABLED:272*273* Whether iconv support is available274*/275#if 1276#define LIBXML_ICONV_ENABLED277#endif278279/**280* LIBXML_ICU_ENABLED:281*282* Whether icu support is available283*/284#if 0285#define LIBXML_ICU_ENABLED286#endif287288/**289* LIBXML_ISO8859X_ENABLED:290*291* Whether ISO-8859-* support is made available in case iconv is not292*/293#if 0294#define LIBXML_ISO8859X_ENABLED295#endif296297/**298* LIBXML_DEBUG_ENABLED:299*300* Whether Debugging module is configured in301*/302#if 1303#define LIBXML_DEBUG_ENABLED304#endif305306/**307* DEBUG_MEMORY_LOCATION:308*309* Whether the memory debugging is configured in310*/311#if 0312#define DEBUG_MEMORY_LOCATION313#endif314315/**316* LIBXML_DEBUG_RUNTIME:317*318* Whether the runtime debugging is configured in319*/320#if 0321#define LIBXML_DEBUG_RUNTIME322#endif323324/**325* LIBXML_UNICODE_ENABLED:326*327* Whether the Unicode related interfaces are compiled in328*/329#if 1330#define LIBXML_UNICODE_ENABLED331#endif332333/**334* LIBXML_REGEXP_ENABLED:335*336* Whether the regular expressions interfaces are compiled in337*/338#if 1339#define LIBXML_REGEXP_ENABLED340#endif341342/**343* LIBXML_AUTOMATA_ENABLED:344*345* Whether the automata interfaces are compiled in346*/347#if 1348#define LIBXML_AUTOMATA_ENABLED349#endif350351/**352* LIBXML_EXPR_ENABLED:353*354* Whether the formal expressions interfaces are compiled in355*/356#if 1357#define LIBXML_EXPR_ENABLED358#endif359360/**361* LIBXML_SCHEMAS_ENABLED:362*363* Whether the Schemas validation interfaces are compiled in364*/365#if 1366#define LIBXML_SCHEMAS_ENABLED367#endif368369/**370* LIBXML_SCHEMATRON_ENABLED:371*372* Whether the Schematron validation interfaces are compiled in373*/374#if 1375#define LIBXML_SCHEMATRON_ENABLED376#endif377378/**379* LIBXML_MODULES_ENABLED:380*381* Whether the module interfaces are compiled in382*/383#if 1384#define LIBXML_MODULES_ENABLED385/**386* LIBXML_MODULE_EXTENSION:387*388* the string suffix used by dynamic modules (usually shared libraries)389*/390#define LIBXML_MODULE_EXTENSION ".dll"391#endif392393/**394* LIBXML_ZLIB_ENABLED:395*396* Whether the Zlib support is compiled in397*/398#if 1399#define LIBXML_ZLIB_ENABLED400#endif401402/**403* LIBXML_LZMA_ENABLED:404*405* Whether the Lzma support is compiled in406*/407#if 0408#define LIBXML_LZMA_ENABLED409#endif410411#ifdef __GNUC__412#ifdef HAVE_ANSIDECL_H413#include <ansidecl.h>414#endif415416/**417* ATTRIBUTE_UNUSED:418*419* Macro used to signal to GCC unused function parameters420*/421422#ifndef ATTRIBUTE_UNUSED423# if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))424# define ATTRIBUTE_UNUSED __attribute__((unused))425# else426# define ATTRIBUTE_UNUSED427# endif428#endif429430/**431* LIBXML_ATTR_ALLOC_SIZE:432*433* Macro used to indicate to GCC this is an allocator function434*/435436#ifndef LIBXML_ATTR_ALLOC_SIZE437# if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))))438# define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))439# else440# define LIBXML_ATTR_ALLOC_SIZE(x)441# endif442#else443# define LIBXML_ATTR_ALLOC_SIZE(x)444#endif445446/**447* LIBXML_ATTR_FORMAT:448*449* Macro used to indicate to GCC the parameter are printf like450*/451452#ifndef LIBXML_ATTR_FORMAT453# if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))454# define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))455# else456# define LIBXML_ATTR_FORMAT(fmt,args)457# endif458#else459# define LIBXML_ATTR_FORMAT(fmt,args)460#endif461462#else /* ! __GNUC__ */463/**464* ATTRIBUTE_UNUSED:465*466* Macro used to signal to GCC unused function parameters467*/468#define ATTRIBUTE_UNUSED469/**470* LIBXML_ATTR_ALLOC_SIZE:471*472* Macro used to indicate to GCC this is an allocator function473*/474#define LIBXML_ATTR_ALLOC_SIZE(x)475/**476* LIBXML_ATTR_FORMAT:477*478* Macro used to indicate to GCC the parameter are printf like479*/480#define LIBXML_ATTR_FORMAT(fmt,args)481#endif /* __GNUC__ */482483#ifdef __cplusplus484}485#endif /* __cplusplus */486#endif487488489490491