| 1 | /** |
| 2 | * @file |
| 3 | * |
| 4 | * @brief compile-time version information |
| 5 | * |
| 6 | * compile-time version information for the XML library |
| 7 | * |
| 8 | * @copyright See Copyright for the status of this software. |
| 9 | * |
| 10 | * @author Daniel Veillard |
| 11 | */ |
| 12 | |
| 13 | #ifndef __XML_VERSION_H__ |
| 14 | #define __XML_VERSION_H__ |
| 15 | |
| 16 | /** |
| 17 | * the version string like "1.2.3" |
| 18 | */ |
| 19 | #define LIBXML_DOTTED_VERSION "2.15.2" |
| 20 | |
| 21 | /** |
| 22 | * the version number: 1.2.3 value is 10203 |
| 23 | */ |
| 24 | #define LIBXML_VERSION 21502 |
| 25 | |
| 26 | /** |
| 27 | * the version number string, 1.2.3 value is "10203" |
| 28 | */ |
| 29 | #define LIBXML_VERSION_STRING "21502" |
| 30 | |
| 31 | /** |
| 32 | * extra version information, used to show a git commit description |
| 33 | */ |
| 34 | #define "" |
| 35 | |
| 36 | /** |
| 37 | * Macro to check that the libxml version in use is compatible with |
| 38 | * the version the software has been compiled against |
| 39 | */ |
| 40 | #define LIBXML_TEST_VERSION xmlCheckVersion(21502); |
| 41 | |
| 42 | #if 1 |
| 43 | /** |
| 44 | * Whether the thread support is configured in |
| 45 | */ |
| 46 | #define LIBXML_THREAD_ENABLED |
| 47 | #endif |
| 48 | |
| 49 | #if 0 |
| 50 | /** |
| 51 | * Whether the allocation hooks are per-thread |
| 52 | */ |
| 53 | #define LIBXML_THREAD_ALLOC_ENABLED |
| 54 | #endif |
| 55 | |
| 56 | /** |
| 57 | * Always enabled since 2.14.0 |
| 58 | */ |
| 59 | #define LIBXML_TREE_ENABLED |
| 60 | |
| 61 | #if 1 |
| 62 | /** |
| 63 | * Whether the serialization/saving support is configured in |
| 64 | */ |
| 65 | #define LIBXML_OUTPUT_ENABLED |
| 66 | #endif |
| 67 | |
| 68 | #if 1 |
| 69 | /** |
| 70 | * Whether the push parsing interfaces are configured in |
| 71 | */ |
| 72 | #define LIBXML_PUSH_ENABLED |
| 73 | #endif |
| 74 | |
| 75 | #if 1 |
| 76 | /** |
| 77 | * Whether the xmlReader parsing interface is configured in |
| 78 | */ |
| 79 | #define LIBXML_READER_ENABLED |
| 80 | #endif |
| 81 | |
| 82 | #if 1 |
| 83 | /** |
| 84 | * Whether the xmlPattern node selection interface is configured in |
| 85 | */ |
| 86 | #define LIBXML_PATTERN_ENABLED |
| 87 | #endif |
| 88 | |
| 89 | #if 1 |
| 90 | /** |
| 91 | * Whether the xmlWriter saving interface is configured in |
| 92 | */ |
| 93 | #define LIBXML_WRITER_ENABLED |
| 94 | #endif |
| 95 | |
| 96 | #if 1 |
| 97 | /** |
| 98 | * Whether the older SAX1 interface is configured in |
| 99 | */ |
| 100 | #define LIBXML_SAX1_ENABLED |
| 101 | #endif |
| 102 | |
| 103 | #if 1 |
| 104 | /** |
| 105 | * HTTP support was removed in 2.15 |
| 106 | */ |
| 107 | #define LIBXML_HTTP_STUBS_ENABLED |
| 108 | #endif |
| 109 | |
| 110 | #if 1 |
| 111 | /** |
| 112 | * Whether the DTD validation support is configured in |
| 113 | */ |
| 114 | #define LIBXML_VALID_ENABLED |
| 115 | #endif |
| 116 | |
| 117 | #if 1 |
| 118 | /** |
| 119 | * Whether the HTML support is configured in |
| 120 | */ |
| 121 | #define LIBXML_HTML_ENABLED |
| 122 | #endif |
| 123 | |
| 124 | /* |
| 125 | * Removed in 2.14 |
| 126 | */ |
| 127 | #undef LIBXML_LEGACY_ENABLED |
| 128 | |
| 129 | #if 1 |
| 130 | /** |
| 131 | * Whether the Canonicalization support is configured in |
| 132 | */ |
| 133 | #define LIBXML_C14N_ENABLED |
| 134 | #endif |
| 135 | |
| 136 | #if 1 |
| 137 | /** |
| 138 | * Whether the Catalog support is configured in |
| 139 | */ |
| 140 | #define LIBXML_CATALOG_ENABLED |
| 141 | #define LIBXML_SGML_CATALOG_ENABLED |
| 142 | #endif |
| 143 | |
| 144 | #if 1 |
| 145 | /** |
| 146 | * Whether XPath is configured in |
| 147 | */ |
| 148 | #define LIBXML_XPATH_ENABLED |
| 149 | #endif |
| 150 | |
| 151 | #if 1 |
| 152 | /** |
| 153 | * Whether XPointer is configured in |
| 154 | */ |
| 155 | #define LIBXML_XPTR_ENABLED |
| 156 | #endif |
| 157 | |
| 158 | #if 1 |
| 159 | /** |
| 160 | * Whether XInclude is configured in |
| 161 | */ |
| 162 | #define LIBXML_XINCLUDE_ENABLED |
| 163 | #endif |
| 164 | |
| 165 | #if 1 |
| 166 | /** |
| 167 | * Whether iconv support is available |
| 168 | */ |
| 169 | #define LIBXML_ICONV_ENABLED |
| 170 | #endif |
| 171 | |
| 172 | #if 0 |
| 173 | /** |
| 174 | * Whether icu support is available |
| 175 | */ |
| 176 | #define LIBXML_ICU_ENABLED |
| 177 | #endif |
| 178 | |
| 179 | #if 1 |
| 180 | /** |
| 181 | * Whether ISO-8859-* support is made available in case iconv is not |
| 182 | */ |
| 183 | #define LIBXML_ISO8859X_ENABLED |
| 184 | #endif |
| 185 | |
| 186 | #if 1 |
| 187 | /** |
| 188 | * Whether Debugging module is configured in |
| 189 | */ |
| 190 | #define LIBXML_DEBUG_ENABLED |
| 191 | #endif |
| 192 | |
| 193 | /* |
| 194 | * Removed in 2.14 |
| 195 | */ |
| 196 | #undef LIBXML_UNICODE_ENABLED |
| 197 | |
| 198 | #if 1 |
| 199 | /** |
| 200 | * Whether the regular expressions interfaces are compiled in |
| 201 | */ |
| 202 | #define LIBXML_REGEXP_ENABLED |
| 203 | #endif |
| 204 | |
| 205 | #if 1 |
| 206 | /** |
| 207 | * Whether the automata interfaces are compiled in |
| 208 | */ |
| 209 | #define LIBXML_AUTOMATA_ENABLED |
| 210 | #endif |
| 211 | |
| 212 | #if 1 |
| 213 | /** |
| 214 | * Whether the RelaxNG validation interfaces are compiled in |
| 215 | */ |
| 216 | #define LIBXML_RELAXNG_ENABLED |
| 217 | #endif |
| 218 | |
| 219 | #if 1 |
| 220 | /** |
| 221 | * Whether the Schemas validation interfaces are compiled in |
| 222 | */ |
| 223 | #define LIBXML_SCHEMAS_ENABLED |
| 224 | #endif |
| 225 | |
| 226 | #if 1 |
| 227 | /** |
| 228 | * Whether the Schematron validation interfaces are compiled in |
| 229 | */ |
| 230 | #define LIBXML_SCHEMATRON_ENABLED |
| 231 | #endif |
| 232 | |
| 233 | #if 1 |
| 234 | /** |
| 235 | * Whether the module interfaces are compiled in |
| 236 | */ |
| 237 | #define LIBXML_MODULES_ENABLED |
| 238 | /** |
| 239 | * the string suffix used by dynamic modules (usually shared libraries) |
| 240 | */ |
| 241 | #define LIBXML_MODULE_EXTENSION ".so" |
| 242 | #endif |
| 243 | |
| 244 | #if 1 |
| 245 | /** |
| 246 | * Whether the Zlib support is compiled in |
| 247 | */ |
| 248 | #define LIBXML_ZLIB_ENABLED |
| 249 | #endif |
| 250 | |
| 251 | #include <libxml/xmlexports.h> |
| 252 | |
| 253 | #endif |
| 254 | |
| 255 | |
| 256 | |