author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@4 | 1 |
/* |
williamr@4 | 2 |
* Summary: compile-time version informations |
williamr@4 | 3 |
* Description: compile-time version informations for the XML library |
williamr@4 | 4 |
* |
williamr@4 | 5 |
* Copy: See Copyright for the status of this software. |
williamr@4 | 6 |
* |
williamr@4 | 7 |
* Author: Daniel Veillard |
williamr@4 | 8 |
* Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. |
williamr@4 | 9 |
*/ |
williamr@4 | 10 |
|
williamr@4 | 11 |
/** @file |
williamr@4 | 12 |
@publishedAll |
williamr@4 | 13 |
@released |
williamr@4 | 14 |
*/ |
williamr@4 | 15 |
|
williamr@4 | 16 |
#ifndef XML_VERSION_H |
williamr@4 | 17 |
#define XML_VERSION_H |
williamr@4 | 18 |
|
williamr@4 | 19 |
/* |
williamr@4 | 20 |
* modules.h contains definitions that are auto generated |
williamr@4 | 21 |
* from libxml2 property files using Ant script |
williamr@4 | 22 |
* |
williamr@4 | 23 |
* All other defines in this files are not assumed to be changed anymore |
williamr@4 | 24 |
*/ |
williamr@4 | 25 |
|
williamr@4 | 26 |
#include <stdapis/libxml2/libxml2_modules.h> |
williamr@4 | 27 |
#include <stdapis/libxml2/libxml2_xmlexports.h> |
williamr@4 | 28 |
|
williamr@4 | 29 |
|
williamr@4 | 30 |
#ifdef __cplusplus |
williamr@4 | 31 |
extern "C" { |
williamr@4 | 32 |
#endif |
williamr@4 | 33 |
|
williamr@4 | 34 |
/* |
williamr@4 | 35 |
* use those to be sure nothing nasty will happen if |
williamr@4 | 36 |
* your library and includes mismatch |
williamr@4 | 37 |
*/ |
williamr@4 | 38 |
#ifndef LIBXML2_COMPILING_MSCCDEF |
williamr@4 | 39 |
XMLPUBFUN void XMLCALL xmlCheckVersion(int version); |
williamr@4 | 40 |
#endif /* LIBXML2_COMPILING_MSCCDEF */ |
williamr@4 | 41 |
|
williamr@4 | 42 |
/** |
williamr@4 | 43 |
* LIBXML_DOTTED_VERSION: |
williamr@4 | 44 |
* |
williamr@4 | 45 |
* the version string like "1.2.3" |
williamr@4 | 46 |
*/ |
williamr@4 | 47 |
#define LIBXML_DOTTED_VERSION "2.6.10" |
williamr@4 | 48 |
|
williamr@4 | 49 |
/** |
williamr@4 | 50 |
* LIBXML_VERSION: |
williamr@4 | 51 |
* |
williamr@4 | 52 |
* the version number: 1.2.3 value is 1002003 |
williamr@4 | 53 |
*/ |
williamr@4 | 54 |
#define LIBXML_VERSION 20610 |
williamr@4 | 55 |
|
williamr@4 | 56 |
/** |
williamr@4 | 57 |
* LIBXML_VERSION_STRING: |
williamr@4 | 58 |
* |
williamr@4 | 59 |
* the version number string, 1.2.3 value is "1002003" |
williamr@4 | 60 |
*/ |
williamr@4 | 61 |
#define LIBXML_VERSION_STRING "20610" |
williamr@4 | 62 |
|
williamr@4 | 63 |
/** |
williamr@4 | 64 |
* LIBXML_TEST_VERSION: |
williamr@4 | 65 |
* |
williamr@4 | 66 |
* Macro to check that the libxml version in use is compatible with |
williamr@4 | 67 |
* the version the software has been compiled against |
williamr@4 | 68 |
*/ |
williamr@4 | 69 |
#define LIBXML_TEST_VERSION xmlCheckVersion(20610); |
williamr@4 | 70 |
|
williamr@4 | 71 |
//#ifndef VMS |
williamr@4 | 72 |
//#if 0 |
williamr@4 | 73 |
///** |
williamr@4 | 74 |
// * WITH_TRIO: |
williamr@4 | 75 |
// * |
williamr@4 | 76 |
// * defined if the trio support need to be configured in |
williamr@4 | 77 |
// */ |
williamr@4 | 78 |
//#define WITH_TRIO |
williamr@4 | 79 |
//#else |
williamr@4 | 80 |
///** |
williamr@4 | 81 |
// * WITHOUT_TRIO: |
williamr@4 | 82 |
// * |
williamr@4 | 83 |
// * defined if the trio support should not be configured in |
williamr@4 | 84 |
// */ |
williamr@4 | 85 |
//#define WITHOUT_TRIO |
williamr@4 | 86 |
//#endif |
williamr@4 | 87 |
//#else /* VMS */ |
williamr@4 | 88 |
///** |
williamr@4 | 89 |
// * WITH_TRIO: |
williamr@4 | 90 |
// * |
williamr@4 | 91 |
// * defined if the trio support need to be configured in |
williamr@4 | 92 |
// */ |
williamr@4 | 93 |
//#define WITH_TRIO 1 |
williamr@4 | 94 |
//#endif /* VMS */ |
williamr@4 | 95 |
|
williamr@4 | 96 |
|
williamr@4 | 97 |
|
williamr@4 | 98 |
/** |
williamr@4 | 99 |
* LIBXML_FTP_ENABLED: |
williamr@4 | 100 |
* |
williamr@4 | 101 |
* Whether the FTP support is configured in |
williamr@4 | 102 |
*/ |
williamr@4 | 103 |
// Excluded from XML Engine |
williamr@4 | 104 |
//#define LIBXML_FTP_ENABLED |
williamr@4 | 105 |
|
williamr@4 | 106 |
|
williamr@4 | 107 |
/** |
williamr@4 | 108 |
* LIBXML_HTTP_ENABLED: |
williamr@4 | 109 |
* |
williamr@4 | 110 |
* Whether the HTTP support is configured in |
williamr@4 | 111 |
*/ |
williamr@4 | 112 |
// Excluded from XML Engine |
williamr@4 | 113 |
//#define LIBXML_HTTP_ENABLED |
williamr@4 | 114 |
|
williamr@4 | 115 |
|
williamr@4 | 116 |
/** |
williamr@4 | 117 |
* LIBXML_DOCB_ENABLED: |
williamr@4 | 118 |
* |
williamr@4 | 119 |
* Whether the SGML Docbook support is configured in |
williamr@4 | 120 |
*/ |
williamr@4 | 121 |
// Excluded from XML Engine |
williamr@4 | 122 |
//#define LIBXML_DOCB_ENABLED |
williamr@4 | 123 |
|
williamr@4 | 124 |
/** |
williamr@4 | 125 |
* LIBXML_ICONV_ENABLED: |
williamr@4 | 126 |
* |
williamr@4 | 127 |
* Whether iconv support is available |
williamr@4 | 128 |
*/ |
williamr@4 | 129 |
#if 0 |
williamr@4 | 130 |
#define LIBXML_ICONV_ENABLED |
williamr@4 | 131 |
#endif |
williamr@4 | 132 |
|
williamr@4 | 133 |
/** |
williamr@4 | 134 |
* LIBXML_ISO8859X_ENABLED: |
williamr@4 | 135 |
* |
williamr@4 | 136 |
* Whether ISO-8859-* support is made available in case iconv is not |
williamr@4 | 137 |
*/ |
williamr@4 | 138 |
#if 0 |
williamr@4 | 139 |
#define LIBXML_ISO8859X_ENABLED |
williamr@4 | 140 |
#endif |
williamr@4 | 141 |
|
williamr@4 | 142 |
|
williamr@4 | 143 |
/** |
williamr@4 | 144 |
* ATTRIBUTE_UNUSED: |
williamr@4 | 145 |
* |
williamr@4 | 146 |
* Macro used to signal to GCC unused function parameters |
williamr@4 | 147 |
*/ |
williamr@4 | 148 |
#ifdef __GNUC__ |
williamr@4 | 149 |
#ifdef HAVE_ANSIDECL_H |
williamr@4 | 150 |
#include <ansidecl.h> |
williamr@4 | 151 |
#endif |
williamr@4 | 152 |
#ifndef ATTRIBUTE_UNUSED |
williamr@4 | 153 |
#define ATTRIBUTE_UNUSED __attribute__((unused)) |
williamr@4 | 154 |
#endif |
williamr@4 | 155 |
#else |
williamr@4 | 156 |
#define ATTRIBUTE_UNUSED |
williamr@4 | 157 |
#endif |
williamr@4 | 158 |
|
williamr@4 | 159 |
#ifdef __cplusplus |
williamr@4 | 160 |
} |
williamr@4 | 161 |
#endif /* __cplusplus */ |
williamr@4 | 162 |
|
williamr@4 | 163 |
|
williamr@4 | 164 |
#endif /* XML_VERSION_H */ |
williamr@4 | 165 |