xmlwin32version

xmlwin32version —

Synopsis




void        xmlCheckVersion                 (int version);
#define     LIBXML_DOTTED_VERSION
#define     LIBXML_VERSION
#define     LIBXML_VERSION_STRING
#define     LIBXML_TEST_VERSION
#define     WITH_TRIO
#define     WITHOUT_TRIO
#define     LIBXML_THREAD_ENABLED
#define     LIBXML_FTP_ENABLED
#define     LIBXML_HTTP_ENABLED
#define     LIBXML_HTML_ENABLED
#define     LIBXML_CATALOG_ENABLED
#define     LIBXML_DOCB_ENABLED
#define     LIBXML_XPATH_ENABLED
#define     LIBXML_XPTR_ENABLED
#define     LIBXML_C14N_ENABLED
#define     LIBXML_XINCLUDE_ENABLED
#define     LIBXML_ICONV_ENABLED
#define     LIBXML_DEBUG_ENABLED
#define     DEBUG_MEMORY_LOCATION
#define     LIBXML_DLL_IMPORT
#define     ATTRIBUTE_UNUSED

Description

Details

xmlCheckVersion ()

void        xmlCheckVersion                 (int version);

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

version: the include version number

LIBXML_DOTTED_VERSION

#define     LIBXML_DOTTED_VERSION

the version string like "1.2.3"


LIBXML_VERSION

#define     LIBXML_VERSION

the version number: 1.2.3 value is 1002003


LIBXML_VERSION_STRING

#define     LIBXML_VERSION_STRING

the version number string, 1.2.3 value is "1002003"


LIBXML_TEST_VERSION

#define     LIBXML_TEST_VERSION

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


WITH_TRIO

#define     WITH_TRIO

defined if the trio support need to be configured in


WITHOUT_TRIO

#define     WITHOUT_TRIO

defined if the trio support should not be configured in


LIBXML_THREAD_ENABLED

#define     LIBXML_THREAD_ENABLED

Whether the thread support is configured in


LIBXML_FTP_ENABLED

#define     LIBXML_FTP_ENABLED

Whether the FTP support is configured in


LIBXML_HTTP_ENABLED

#define     LIBXML_HTTP_ENABLED

Whether the HTTP support is configured in


LIBXML_HTML_ENABLED

#define     LIBXML_HTML_ENABLED

Whether the HTML support is configured in


LIBXML_CATALOG_ENABLED

#define     LIBXML_CATALOG_ENABLED

Whether the Catalog support is configured in


LIBXML_DOCB_ENABLED

#define     LIBXML_DOCB_ENABLED

Whether the SGML Docbook support is configured in


LIBXML_XPATH_ENABLED

#define     LIBXML_XPATH_ENABLED

Whether XPath is configured in


LIBXML_XPTR_ENABLED

#define     LIBXML_XPTR_ENABLED

Whether XPointer is configured in


LIBXML_C14N_ENABLED

#define     LIBXML_C14N_ENABLED

Whether the Canonicalization support is configured in


LIBXML_XINCLUDE_ENABLED

#define     LIBXML_XINCLUDE_ENABLED

Whether XInclude is configured in


LIBXML_ICONV_ENABLED

#define     LIBXML_ICONV_ENABLED

Whether iconv support is available


LIBXML_DEBUG_ENABLED

#define     LIBXML_DEBUG_ENABLED

Whether Debugging module is configured in


DEBUG_MEMORY_LOCATION

#define     DEBUG_MEMORY_LOCATION

Whether the memory debugging is configured in


LIBXML_DLL_IMPORT

#define     LIBXML_DLL_IMPORT

Used on Windows (MS C compiler only) to declare a variable as imported from the library. This macro should be empty when compiling libxml itself. It should expand to __declspec(dllimport) when the client code includes this header, and that only if the client links dynamically against libxml. For this to work, we need three macros. One tells us which compiler is being used and luckily the compiler defines such a thing: _MSC_VER. The second macro tells us if we are compiling libxml or the client code and we define the macro IN_LIBXML on the compiler's command line for this purpose. The third macro, LIBXML_STATIC, must be defined by any client code which links against libxml statically.


ATTRIBUTE_UNUSED

#define     ATTRIBUTE_UNUSED

Macro used to signal to GCC unused function parameters