ReactOS 0.4.15-dev-7788-g1ad9096
xmlversion.h File Reference
Include dependency graph for xmlversion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LIBXML_DOTTED_VERSION   "2.10.1"
 
#define LIBXML_VERSION   21001
 
#define LIBXML_VERSION_STRING   "21001"
 
#define LIBXML_VERSION_EXTRA   "-GITv2.10.0-11-g5d96a5ded"
 
#define LIBXML_TEST_VERSION   xmlCheckVersion(21001);
 
#define WITHOUT_TRIO
 
#define LIBXML_THREAD_ENABLED
 
#define LIBXML_TREE_ENABLED
 
#define LIBXML_OUTPUT_ENABLED
 
#define LIBXML_PUSH_ENABLED
 
#define LIBXML_READER_ENABLED
 
#define LIBXML_PATTERN_ENABLED
 
#define LIBXML_WRITER_ENABLED
 
#define LIBXML_SAX1_ENABLED
 
#define LIBXML_HTTP_ENABLED
 
#define LIBXML_VALID_ENABLED
 
#define LIBXML_HTML_ENABLED
 
#define LIBXML_C14N_ENABLED
 
#define LIBXML_CATALOG_ENABLED
 
#define LIBXML_XPATH_ENABLED
 
#define LIBXML_XPTR_ENABLED
 
#define LIBXML_XINCLUDE_ENABLED
 
#define LIBXML_ICONV_ENABLED
 
#define LIBXML_ISO8859X_ENABLED
 
#define LIBXML_DEBUG_ENABLED
 
#define LIBXML_UNICODE_ENABLED
 
#define LIBXML_REGEXP_ENABLED
 
#define LIBXML_AUTOMATA_ENABLED
 
#define LIBXML_SCHEMAS_ENABLED
 
#define LIBXML_SCHEMATRON_ENABLED
 
#define LIBXML_MODULES_ENABLED
 
#define LIBXML_MODULE_EXTENSION   ".dll"
 
#define LIBXML_ZLIB_ENABLED
 
#define ATTRIBUTE_UNUSED
 
#define LIBXML_ATTR_ALLOC_SIZE(x)
 
#define LIBXML_ATTR_FORMAT(fmt, args)
 
#define XML_DEPRECATED
 

Functions

XMLPUBFUN void XMLCALL xmlCheckVersion (int version)
 

Macro Definition Documentation

◆ ATTRIBUTE_UNUSED

#define ATTRIBUTE_UNUSED

LIBXML_LZMA_ENABLED:

Whether the Lzma support is compiled in ATTRIBUTE_UNUSED:

Macro used to signal to GCC unused function parameters

Definition at line 474 of file xmlversion.h.

◆ LIBXML_ATTR_ALLOC_SIZE

#define LIBXML_ATTR_ALLOC_SIZE (   x)

LIBXML_ATTR_ALLOC_SIZE:

Macro used to indicate to GCC this is an allocator function

Definition at line 480 of file xmlversion.h.

◆ LIBXML_ATTR_FORMAT

#define LIBXML_ATTR_FORMAT (   fmt,
  args 
)

LIBXML_ATTR_FORMAT:

Macro used to indicate to GCC the parameter are printf like

Definition at line 486 of file xmlversion.h.

◆ LIBXML_AUTOMATA_ENABLED

#define LIBXML_AUTOMATA_ENABLED

LIBXML_AUTOMATA_ENABLED:

Whether the automata interfaces are compiled in

Definition at line 346 of file xmlversion.h.

◆ LIBXML_C14N_ENABLED

#define LIBXML_C14N_ENABLED

LIBXML_LEGACY_ENABLED:

Whether the deprecated APIs are compiled in for compatibility LIBXML_C14N_ENABLED:

Whether the Canonicalization support is configured in

Definition at line 220 of file xmlversion.h.

◆ LIBXML_CATALOG_ENABLED

#define LIBXML_CATALOG_ENABLED

LIBXML_CATALOG_ENABLED:

Whether the Catalog support is configured in

Definition at line 229 of file xmlversion.h.

◆ LIBXML_DEBUG_ENABLED

#define LIBXML_DEBUG_ENABLED

LIBXML_DEBUG_ENABLED:

Whether Debugging module is configured in

Definition at line 301 of file xmlversion.h.

◆ LIBXML_DOTTED_VERSION

#define LIBXML_DOTTED_VERSION   "2.10.1"

LIBXML_DOTTED_VERSION:

the version string like "1.2.3"

Definition at line 32 of file xmlversion.h.

◆ LIBXML_HTML_ENABLED

#define LIBXML_HTML_ENABLED

LIBXML_HTML_ENABLED:

Whether the HTML support is configured in

Definition at line 202 of file xmlversion.h.

◆ LIBXML_HTTP_ENABLED

#define LIBXML_HTTP_ENABLED

LIBXML_FTP_ENABLED:

Whether the FTP support is configured in LIBXML_HTTP_ENABLED:

Whether the HTTP support is configured in

Definition at line 184 of file xmlversion.h.

◆ LIBXML_ICONV_ENABLED

#define LIBXML_ICONV_ENABLED

LIBXML_ICONV_ENABLED:

Whether iconv support is available

Definition at line 274 of file xmlversion.h.

◆ LIBXML_ISO8859X_ENABLED

#define LIBXML_ISO8859X_ENABLED

LIBXML_ICU_ENABLED:

Whether icu support is available LIBXML_ISO8859X_ENABLED:

Whether ISO-8859-* support is made available in case iconv is not

Definition at line 292 of file xmlversion.h.

◆ LIBXML_MODULE_EXTENSION

#define LIBXML_MODULE_EXTENSION   ".dll"

LIBXML_MODULE_EXTENSION:

the string suffix used by dynamic modules (usually shared libraries)

Definition at line 390 of file xmlversion.h.

◆ LIBXML_MODULES_ENABLED

#define LIBXML_MODULES_ENABLED

LIBXML_MODULES_ENABLED:

Whether the module interfaces are compiled in

Definition at line 384 of file xmlversion.h.

◆ LIBXML_OUTPUT_ENABLED

#define LIBXML_OUTPUT_ENABLED

LIBXML_OUTPUT_ENABLED:

Whether the serialization/saving support is configured in

Definition at line 121 of file xmlversion.h.

◆ LIBXML_PATTERN_ENABLED

#define LIBXML_PATTERN_ENABLED

LIBXML_PATTERN_ENABLED:

Whether the xmlPattern node selection interface is configured in

Definition at line 148 of file xmlversion.h.

◆ LIBXML_PUSH_ENABLED

#define LIBXML_PUSH_ENABLED

LIBXML_PUSH_ENABLED:

Whether the push parsing interfaces are configured in

Definition at line 130 of file xmlversion.h.

◆ LIBXML_READER_ENABLED

#define LIBXML_READER_ENABLED

LIBXML_READER_ENABLED:

Whether the xmlReader parsing interface is configured in

Definition at line 139 of file xmlversion.h.

◆ LIBXML_REGEXP_ENABLED

#define LIBXML_REGEXP_ENABLED

LIBXML_REGEXP_ENABLED:

Whether the regular expressions interfaces are compiled in

Definition at line 337 of file xmlversion.h.

◆ LIBXML_SAX1_ENABLED

#define LIBXML_SAX1_ENABLED

LIBXML_SAX1_ENABLED:

Whether the older SAX1 interface is configured in

Definition at line 166 of file xmlversion.h.

◆ LIBXML_SCHEMAS_ENABLED

#define LIBXML_SCHEMAS_ENABLED

LIBXML_EXPR_ENABLED:

Whether the formal expressions interfaces are compiled in

This code is unused and disabled unconditionally for now. LIBXML_SCHEMAS_ENABLED:

Whether the Schemas validation interfaces are compiled in

Definition at line 366 of file xmlversion.h.

◆ LIBXML_SCHEMATRON_ENABLED

#define LIBXML_SCHEMATRON_ENABLED

LIBXML_SCHEMATRON_ENABLED:

Whether the Schematron validation interfaces are compiled in

Definition at line 375 of file xmlversion.h.

◆ LIBXML_TEST_VERSION

#define LIBXML_TEST_VERSION   xmlCheckVersion(21001);

LIBXML_TEST_VERSION:

Macro to check that the libxml version in use is compatible with the version the software has been compiled against

Definition at line 61 of file xmlversion.h.

◆ LIBXML_THREAD_ENABLED

#define LIBXML_THREAD_ENABLED

LIBXML_THREAD_ENABLED:

Whether the thread support is configured in

Definition at line 94 of file xmlversion.h.

◆ LIBXML_TREE_ENABLED

#define LIBXML_TREE_ENABLED

LIBXML_THREAD_ALLOC_ENABLED:

Whether the allocation hooks are per-thread LIBXML_TREE_ENABLED:

Whether the DOM like tree manipulation API support is configured in

Definition at line 112 of file xmlversion.h.

◆ LIBXML_UNICODE_ENABLED

#define LIBXML_UNICODE_ENABLED

DEBUG_MEMORY_LOCATION:

Whether the memory debugging is configured in LIBXML_DEBUG_RUNTIME:

Whether the runtime debugging is configured in LIBXML_UNICODE_ENABLED:

Whether the Unicode related interfaces are compiled in

Definition at line 328 of file xmlversion.h.

◆ LIBXML_VALID_ENABLED

#define LIBXML_VALID_ENABLED

LIBXML_VALID_ENABLED:

Whether the DTD validation support is configured in

Definition at line 193 of file xmlversion.h.

◆ LIBXML_VERSION

#define LIBXML_VERSION   21001

LIBXML_VERSION:

the version number: 1.2.3 value is 10203

Definition at line 39 of file xmlversion.h.

◆ LIBXML_VERSION_EXTRA

#define LIBXML_VERSION_EXTRA   "-GITv2.10.0-11-g5d96a5ded"

LIBXML_VERSION_EXTRA:

extra version information, used to show a git commit description

Definition at line 53 of file xmlversion.h.

◆ LIBXML_VERSION_STRING

#define LIBXML_VERSION_STRING   "21001"

LIBXML_VERSION_STRING:

the version number string, 1.2.3 value is "10203"

Definition at line 46 of file xmlversion.h.

◆ LIBXML_WRITER_ENABLED

#define LIBXML_WRITER_ENABLED

LIBXML_WRITER_ENABLED:

Whether the xmlWriter saving interface is configured in

Definition at line 157 of file xmlversion.h.

◆ LIBXML_XINCLUDE_ENABLED

#define LIBXML_XINCLUDE_ENABLED

LIBXML_XPTR_LOCS_ENABLED:

Whether support for XPointer locations is configured in LIBXML_XINCLUDE_ENABLED:

Whether XInclude is configured in

Definition at line 265 of file xmlversion.h.

◆ LIBXML_XPATH_ENABLED

#define LIBXML_XPATH_ENABLED

LIBXML_XPATH_ENABLED:

Whether XPath is configured in

Definition at line 238 of file xmlversion.h.

◆ LIBXML_XPTR_ENABLED

#define LIBXML_XPTR_ENABLED

LIBXML_XPTR_ENABLED:

Whether XPointer is configured in

Definition at line 247 of file xmlversion.h.

◆ LIBXML_ZLIB_ENABLED

#define LIBXML_ZLIB_ENABLED

LIBXML_ZLIB_ENABLED:

Whether the Zlib support is compiled in

Definition at line 399 of file xmlversion.h.

◆ WITHOUT_TRIO

#define WITHOUT_TRIO

WITHOUT_TRIO:

defined if the trio support should not be configured in

Definition at line 77 of file xmlversion.h.

◆ XML_DEPRECATED

#define XML_DEPRECATED

XML_DEPRECATED:

Macro used to indicate that a function, variable, type or struct member is deprecated.

Definition at line 494 of file xmlversion.h.

Function Documentation

◆ xmlCheckVersion()

XMLPUBFUN void XMLCALL xmlCheckVersion ( int  version)

xmlCheckVersion:

Version
: the include version number

check the compiled lib version against the include one. This can warn or immediately kill the application

Definition at line 61 of file parserInternals.c.

61 {
62 int myversion = (int) LIBXML_VERSION;
63
65
66 if ((myversion / 10000) != (version / 10000)) {
68 "Fatal: program compiled against libxml %d using libxml %d\n",
69 (version / 10000), (myversion / 10000));
71 "Fatal: program compiled against libxml %d using libxml %d\n",
72 (version / 10000), (myversion / 10000));
73 }
74 if ((myversion / 100) < (version / 100)) {
76 "Warning: program compiled against libxml %d using older %d\n",
77 (version / 100), (myversion / 100));
78 }
79}
static const WCHAR version[]
Definition: asmname.c:66
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
#define stderr
Definition: stdio.h:100
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
XMLPUBVAR void * xmlGenericErrorContext
Definition: globals.h:353
XMLPUBVAR xmlGenericErrorFunc xmlGenericError
Definition: globals.h:337
XMLPUBFUN void XMLCALL xmlInitParser(void)
Definition: parser.c:14676
#define LIBXML_VERSION
Definition: xmlversion.h:39