Blame include/libxml/xmlversion.h

Packit 423ecb
/*
Packit 423ecb
 * Summary: compile-time version informations
Packit 423ecb
 * Description: compile-time version informations for the XML library
Packit 423ecb
 *
Packit 423ecb
 * Copy: See Copyright for the status of this software.
Packit 423ecb
 *
Packit 423ecb
 * Author: Daniel Veillard
Packit 423ecb
 */
Packit 423ecb
Packit 423ecb
#ifndef __XML_VERSION_H__
Packit 423ecb
#define __XML_VERSION_H__
Packit 423ecb
Packit 423ecb
#include <libxml/xmlexports.h>
Packit 423ecb
Packit 423ecb
#ifdef __cplusplus
Packit 423ecb
extern "C" {
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/*
Packit 423ecb
 * use those to be sure nothing nasty will happen if
Packit 423ecb
 * your library and includes mismatch
Packit 423ecb
 */
Packit 423ecb
#ifndef LIBXML2_COMPILING_MSCCDEF
Packit 423ecb
XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
Packit 423ecb
#endif /* LIBXML2_COMPILING_MSCCDEF */
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_DOTTED_VERSION:
Packit 423ecb
 *
Packit 423ecb
 * the version string like "1.2.3"
Packit 423ecb
 */
Packit 423ecb
#define LIBXML_DOTTED_VERSION "2.9.7"
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_VERSION:
Packit 423ecb
 *
Packit 423ecb
 * the version number: 1.2.3 value is 10203
Packit 423ecb
 */
Packit 423ecb
#define LIBXML_VERSION 20907
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_VERSION_STRING:
Packit 423ecb
 *
Packit 423ecb
 * the version number string, 1.2.3 value is "10203"
Packit 423ecb
 */
Packit 423ecb
#define LIBXML_VERSION_STRING "20907"
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_VERSION_EXTRA:
Packit 423ecb
 *
Packit 423ecb
 * extra version information, used to show a CVS compilation
Packit 423ecb
 */
Packit 423ecb
#define LIBXML_VERSION_EXTRA "-GITv2.9.7-rc1"
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_TEST_VERSION:
Packit 423ecb
 *
Packit 423ecb
 * Macro to check that the libxml version in use is compatible with
Packit 423ecb
 * the version the software has been compiled against
Packit 423ecb
 */
Packit 423ecb
#define LIBXML_TEST_VERSION xmlCheckVersion(20907);
Packit 423ecb
Packit 423ecb
#ifndef VMS
Packit 423ecb
#if 0
Packit 423ecb
/**
Packit 423ecb
 * WITH_TRIO:
Packit 423ecb
 *
Packit 423ecb
 * defined if the trio support need to be configured in
Packit 423ecb
 */
Packit 423ecb
#define WITH_TRIO
Packit 423ecb
#else
Packit 423ecb
/**
Packit 423ecb
 * WITHOUT_TRIO:
Packit 423ecb
 *
Packit 423ecb
 * defined if the trio support should not be configured in
Packit 423ecb
 */
Packit 423ecb
#define WITHOUT_TRIO
Packit 423ecb
#endif
Packit 423ecb
#else /* VMS */
Packit 423ecb
/**
Packit 423ecb
 * WITH_TRIO:
Packit 423ecb
 *
Packit 423ecb
 * defined if the trio support need to be configured in
Packit 423ecb
 */
Packit 423ecb
#define WITH_TRIO 1
Packit 423ecb
#endif /* VMS */
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_THREAD_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the thread support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#if defined(_REENTRANT) || defined(__MT__) || \
Packit 423ecb
    (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L))
Packit 423ecb
#define LIBXML_THREAD_ENABLED
Packit 423ecb
#endif
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_THREAD_ALLOC_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the allocation hooks are per-thread
Packit 423ecb
 */
Packit 423ecb
#if 0
Packit 423ecb
#define LIBXML_THREAD_ALLOC_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_TREE_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the DOM like tree manipulation API support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_TREE_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_OUTPUT_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the serialization/saving support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_OUTPUT_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_PUSH_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the push parsing interfaces are configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_PUSH_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_READER_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the xmlReader parsing interface is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_READER_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_PATTERN_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the xmlPattern node selection interface is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_PATTERN_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_WRITER_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the xmlWriter saving interface is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_WRITER_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_SAX1_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the older SAX1 interface is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_SAX1_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_FTP_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the FTP support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_FTP_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_HTTP_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the HTTP support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_HTTP_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_VALID_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the DTD validation support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_VALID_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_HTML_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the HTML support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_HTML_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_LEGACY_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the deprecated APIs are compiled in for compatibility
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_LEGACY_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_C14N_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the Canonicalization support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_C14N_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_CATALOG_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the Catalog support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_CATALOG_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_DOCB_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the SGML Docbook support is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_DOCB_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_XPATH_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether XPath is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_XPATH_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_XPTR_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether XPointer is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_XPTR_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_XINCLUDE_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether XInclude is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_XINCLUDE_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_ICONV_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether iconv support is available
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_ICONV_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_ICU_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether icu support is available
Packit 423ecb
 */
Packit 423ecb
#if 0
Packit 423ecb
#define LIBXML_ICU_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_ISO8859X_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether ISO-8859-* support is made available in case iconv is not
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_ISO8859X_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_DEBUG_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether Debugging module is configured in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_DEBUG_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * DEBUG_MEMORY_LOCATION:
Packit 423ecb
 *
Packit 423ecb
 * Whether the memory debugging is configured in
Packit 423ecb
 */
Packit 423ecb
#if 0
Packit 423ecb
#define DEBUG_MEMORY_LOCATION
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_DEBUG_RUNTIME:
Packit 423ecb
 *
Packit 423ecb
 * Whether the runtime debugging is configured in
Packit 423ecb
 */
Packit 423ecb
#if 0
Packit 423ecb
#define LIBXML_DEBUG_RUNTIME
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_UNICODE_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the Unicode related interfaces are compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_UNICODE_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_REGEXP_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the regular expressions interfaces are compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_REGEXP_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_AUTOMATA_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the automata interfaces are compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_AUTOMATA_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_EXPR_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the formal expressions interfaces are compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_EXPR_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_SCHEMAS_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the Schemas validation interfaces are compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_SCHEMAS_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_SCHEMATRON_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the Schematron validation interfaces are compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_SCHEMATRON_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_MODULES_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the module interfaces are compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_MODULES_ENABLED
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_MODULE_EXTENSION:
Packit 423ecb
 *
Packit 423ecb
 * the string suffix used by dynamic modules (usually shared libraries)
Packit 423ecb
 */
Packit 423ecb
#define LIBXML_MODULE_EXTENSION ".so" 
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_ZLIB_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the Zlib support is compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_ZLIB_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_LZMA_ENABLED:
Packit 423ecb
 *
Packit 423ecb
 * Whether the Lzma support is compiled in
Packit 423ecb
 */
Packit 423ecb
#if 1
Packit 423ecb
#define LIBXML_LZMA_ENABLED
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
#ifdef __GNUC__
Packit 423ecb
#ifdef HAVE_ANSIDECL_H
Packit 423ecb
#include <ansidecl.h>
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * ATTRIBUTE_UNUSED:
Packit 423ecb
 *
Packit 423ecb
 * Macro used to signal to GCC unused function parameters
Packit 423ecb
 */
Packit 423ecb
Packit 423ecb
#ifndef ATTRIBUTE_UNUSED
Packit 423ecb
# if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
Packit 423ecb
#  define ATTRIBUTE_UNUSED __attribute__((unused))
Packit 423ecb
# else
Packit 423ecb
#  define ATTRIBUTE_UNUSED
Packit 423ecb
# endif
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_ATTR_ALLOC_SIZE:
Packit 423ecb
 *
Packit 423ecb
 * Macro used to indicate to GCC this is an allocator function
Packit 423ecb
 */
Packit 423ecb
Packit 423ecb
#ifndef LIBXML_ATTR_ALLOC_SIZE
Packit 423ecb
# if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))))
Packit 423ecb
#  define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
Packit 423ecb
# else
Packit 423ecb
#  define LIBXML_ATTR_ALLOC_SIZE(x)
Packit 423ecb
# endif
Packit 423ecb
#else
Packit 423ecb
# define LIBXML_ATTR_ALLOC_SIZE(x)
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_ATTR_FORMAT:
Packit 423ecb
 *
Packit 423ecb
 * Macro used to indicate to GCC the parameter are printf like
Packit 423ecb
 */
Packit 423ecb
Packit 423ecb
#ifndef LIBXML_ATTR_FORMAT
Packit 423ecb
# if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)))
Packit 423ecb
#  define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
Packit 423ecb
# else
Packit 423ecb
#  define LIBXML_ATTR_FORMAT(fmt,args)
Packit 423ecb
# endif
Packit 423ecb
#else
Packit 423ecb
# define LIBXML_ATTR_FORMAT(fmt,args)
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb
#else /* ! __GNUC__ */
Packit 423ecb
/**
Packit 423ecb
 * ATTRIBUTE_UNUSED:
Packit 423ecb
 *
Packit 423ecb
 * Macro used to signal to GCC unused function parameters
Packit 423ecb
 */
Packit 423ecb
#define ATTRIBUTE_UNUSED
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_ATTR_ALLOC_SIZE:
Packit 423ecb
 *
Packit 423ecb
 * Macro used to indicate to GCC this is an allocator function
Packit 423ecb
 */
Packit 423ecb
#define LIBXML_ATTR_ALLOC_SIZE(x)
Packit 423ecb
/**
Packit 423ecb
 * LIBXML_ATTR_FORMAT:
Packit 423ecb
 *
Packit 423ecb
 * Macro used to indicate to GCC the parameter are printf like
Packit 423ecb
 */
Packit 423ecb
#define LIBXML_ATTR_FORMAT(fmt,args)
Packit 423ecb
#endif /* __GNUC__ */
Packit 423ecb
Packit 423ecb
#ifdef __cplusplus
Packit 423ecb
}
Packit 423ecb
#endif /* __cplusplus */
Packit 423ecb
#endif
Packit 423ecb
Packit 423ecb