|
| 1 | +/* |
| 2 | + * Summary: compile-time version information |
| 3 | + * Description: compile-time version information for the XML library |
| 4 | + * |
| 5 | + * Copy: See Copyright for the status of this software. |
| 6 | + * |
| 7 | + * Author: Daniel Veillard |
| 8 | + */ |
| 9 | + |
| 10 | +#ifndef __XML_VERSION_H__ |
| 11 | +#define __XML_VERSION_H__ |
| 12 | + |
| 13 | +/** |
| 14 | + * LIBXML_DOTTED_VERSION: |
| 15 | + * |
| 16 | + * the version string like "1.2.3" |
| 17 | + */ |
| 18 | +#define LIBXML_DOTTED_VERSION "2.13.5" |
| 19 | + |
| 20 | +/** |
| 21 | + * LIBXML_VERSION: |
| 22 | + * |
| 23 | + * the version number: 1.2.3 value is 10203 |
| 24 | + */ |
| 25 | +#define LIBXML_VERSION 21305 |
| 26 | + |
| 27 | +/** |
| 28 | + * LIBXML_VERSION_STRING: |
| 29 | + * |
| 30 | + * the version number string, 1.2.3 value is "10203" |
| 31 | + */ |
| 32 | +#define LIBXML_VERSION_STRING "21305" |
| 33 | + |
| 34 | +/** |
| 35 | + * LIBXML_VERSION_EXTRA: |
| 36 | + * |
| 37 | + * extra version information, used to show a git commit description |
| 38 | + */ |
| 39 | +#define LIBXML_VERSION_EXTRA "" |
| 40 | + |
| 41 | +/** |
| 42 | + * LIBXML_TEST_VERSION: |
| 43 | + * |
| 44 | + * Macro to check that the libxml version in use is compatible with |
| 45 | + * the version the software has been compiled against |
| 46 | + */ |
| 47 | +#define LIBXML_TEST_VERSION xmlCheckVersion(21305); |
| 48 | + |
| 49 | +/** |
| 50 | + * LIBXML_THREAD_ENABLED: |
| 51 | + * |
| 52 | + * Whether the thread support is configured in |
| 53 | + */ |
| 54 | +#if 1 |
| 55 | +#define LIBXML_THREAD_ENABLED |
| 56 | +#endif |
| 57 | + |
| 58 | +/** |
| 59 | + * LIBXML_THREAD_ALLOC_ENABLED: |
| 60 | + * |
| 61 | + * Whether the allocation hooks are per-thread |
| 62 | + */ |
| 63 | +#if 0 |
| 64 | +#define LIBXML_THREAD_ALLOC_ENABLED |
| 65 | +#endif |
| 66 | + |
| 67 | +/** |
| 68 | + * LIBXML_TREE_ENABLED: |
| 69 | + * |
| 70 | + * Whether the DOM like tree manipulation API support is configured in |
| 71 | + */ |
| 72 | +#if 0 |
| 73 | +#define LIBXML_TREE_ENABLED |
| 74 | +#endif |
| 75 | + |
| 76 | +/** |
| 77 | + * LIBXML_OUTPUT_ENABLED: |
| 78 | + * |
| 79 | + * Whether the serialization/saving support is configured in |
| 80 | + */ |
| 81 | +#if 0 |
| 82 | +#define LIBXML_OUTPUT_ENABLED |
| 83 | +#endif |
| 84 | + |
| 85 | +/** |
| 86 | + * LIBXML_PUSH_ENABLED: |
| 87 | + * |
| 88 | + * Whether the push parsing interfaces are configured in |
| 89 | + */ |
| 90 | +#if 1 |
| 91 | +#define LIBXML_PUSH_ENABLED |
| 92 | +#endif |
| 93 | + |
| 94 | +/** |
| 95 | + * LIBXML_READER_ENABLED: |
| 96 | + * |
| 97 | + * Whether the xmlReader parsing interface is configured in |
| 98 | + */ |
| 99 | +#if 0 |
| 100 | +#define LIBXML_READER_ENABLED |
| 101 | +#endif |
| 102 | + |
| 103 | +/** |
| 104 | + * LIBXML_PATTERN_ENABLED: |
| 105 | + * |
| 106 | + * Whether the xmlPattern node selection interface is configured in |
| 107 | + */ |
| 108 | +#if 0 |
| 109 | +#define LIBXML_PATTERN_ENABLED |
| 110 | +#endif |
| 111 | + |
| 112 | +/** |
| 113 | + * LIBXML_WRITER_ENABLED: |
| 114 | + * |
| 115 | + * Whether the xmlWriter saving interface is configured in |
| 116 | + */ |
| 117 | +#if 0 |
| 118 | +#define LIBXML_WRITER_ENABLED |
| 119 | +#endif |
| 120 | + |
| 121 | +/** |
| 122 | + * LIBXML_SAX1_ENABLED: |
| 123 | + * |
| 124 | + * Whether the older SAX1 interface is configured in |
| 125 | + */ |
| 126 | +#if 1 |
| 127 | +#define LIBXML_SAX1_ENABLED |
| 128 | +#endif |
| 129 | + |
| 130 | +/** |
| 131 | + * LIBXML_FTP_ENABLED: |
| 132 | + * |
| 133 | + * Whether the FTP support is configured in |
| 134 | + */ |
| 135 | +#if 0 |
| 136 | +#define LIBXML_FTP_ENABLED |
| 137 | +#endif |
| 138 | + |
| 139 | +/** |
| 140 | + * LIBXML_HTTP_ENABLED: |
| 141 | + * |
| 142 | + * Whether the HTTP support is configured in |
| 143 | + */ |
| 144 | +#if 0 |
| 145 | +#define LIBXML_HTTP_ENABLED |
| 146 | +#endif |
| 147 | + |
| 148 | +/** |
| 149 | + * LIBXML_VALID_ENABLED: |
| 150 | + * |
| 151 | + * Whether the DTD validation support is configured in |
| 152 | + */ |
| 153 | +#if 0 |
| 154 | +#define LIBXML_VALID_ENABLED |
| 155 | +#endif |
| 156 | + |
| 157 | +/** |
| 158 | + * LIBXML_HTML_ENABLED: |
| 159 | + * |
| 160 | + * Whether the HTML support is configured in |
| 161 | + */ |
| 162 | +#if 0 |
| 163 | +#define LIBXML_HTML_ENABLED |
| 164 | +#endif |
| 165 | + |
| 166 | +/** |
| 167 | + * LIBXML_LEGACY_ENABLED: |
| 168 | + * |
| 169 | + * Whether the deprecated APIs are compiled in for compatibility |
| 170 | + */ |
| 171 | +#if 0 |
| 172 | +#define LIBXML_LEGACY_ENABLED |
| 173 | +#endif |
| 174 | + |
| 175 | +/** |
| 176 | + * LIBXML_C14N_ENABLED: |
| 177 | + * |
| 178 | + * Whether the Canonicalization support is configured in |
| 179 | + */ |
| 180 | +#if 0 |
| 181 | +#define LIBXML_C14N_ENABLED |
| 182 | +#endif |
| 183 | + |
| 184 | +/** |
| 185 | + * LIBXML_CATALOG_ENABLED: |
| 186 | + * |
| 187 | + * Whether the Catalog support is configured in |
| 188 | + */ |
| 189 | +#if 0 |
| 190 | +#define LIBXML_CATALOG_ENABLED |
| 191 | +#endif |
| 192 | + |
| 193 | +/** |
| 194 | + * LIBXML_XPATH_ENABLED: |
| 195 | + * |
| 196 | + * Whether XPath is configured in |
| 197 | + */ |
| 198 | +#if 0 |
| 199 | +#define LIBXML_XPATH_ENABLED |
| 200 | +#endif |
| 201 | + |
| 202 | +/** |
| 203 | + * LIBXML_XPTR_ENABLED: |
| 204 | + * |
| 205 | + * Whether XPointer is configured in |
| 206 | + */ |
| 207 | +#if 0 |
| 208 | +#define LIBXML_XPTR_ENABLED |
| 209 | +#endif |
| 210 | + |
| 211 | +/** |
| 212 | + * LIBXML_XPTR_LOCS_ENABLED: |
| 213 | + * |
| 214 | + * Whether support for XPointer locations is configured in |
| 215 | + */ |
| 216 | +#if 0 |
| 217 | +#define LIBXML_XPTR_LOCS_ENABLED |
| 218 | +#endif |
| 219 | + |
| 220 | +/** |
| 221 | + * LIBXML_XINCLUDE_ENABLED: |
| 222 | + * |
| 223 | + * Whether XInclude is configured in |
| 224 | + */ |
| 225 | +#if 0 |
| 226 | +#define LIBXML_XINCLUDE_ENABLED |
| 227 | +#endif |
| 228 | + |
| 229 | +/** |
| 230 | + * LIBXML_ICONV_ENABLED: |
| 231 | + * |
| 232 | + * Whether iconv support is available |
| 233 | + */ |
| 234 | +#if 0 |
| 235 | +#define LIBXML_ICONV_ENABLED |
| 236 | +#endif |
| 237 | + |
| 238 | +/** |
| 239 | + * LIBXML_ICU_ENABLED: |
| 240 | + * |
| 241 | + * Whether icu support is available |
| 242 | + */ |
| 243 | +#if 0 |
| 244 | +#define LIBXML_ICU_ENABLED |
| 245 | +#endif |
| 246 | + |
| 247 | +/** |
| 248 | + * LIBXML_ISO8859X_ENABLED: |
| 249 | + * |
| 250 | + * Whether ISO-8859-* support is made available in case iconv is not |
| 251 | + */ |
| 252 | +#if 1 |
| 253 | +#define LIBXML_ISO8859X_ENABLED |
| 254 | +#endif |
| 255 | + |
| 256 | +/** |
| 257 | + * LIBXML_DEBUG_ENABLED: |
| 258 | + * |
| 259 | + * Whether Debugging module is configured in |
| 260 | + */ |
| 261 | +#if 0 |
| 262 | +#define LIBXML_DEBUG_ENABLED |
| 263 | +#endif |
| 264 | + |
| 265 | +/** |
| 266 | + * LIBXML_UNICODE_ENABLED: |
| 267 | + * |
| 268 | + * Whether the Unicode related interfaces are compiled in |
| 269 | + */ |
| 270 | +#if 0 |
| 271 | +#define LIBXML_UNICODE_ENABLED |
| 272 | +#endif |
| 273 | + |
| 274 | +/** |
| 275 | + * LIBXML_REGEXP_ENABLED: |
| 276 | + * |
| 277 | + * Whether the regular expressions interfaces are compiled in |
| 278 | + */ |
| 279 | +#if 0 |
| 280 | +#define LIBXML_REGEXP_ENABLED |
| 281 | +#endif |
| 282 | + |
| 283 | +/** |
| 284 | + * LIBXML_AUTOMATA_ENABLED: |
| 285 | + * |
| 286 | + * Whether the automata interfaces are compiled in |
| 287 | + */ |
| 288 | +#if 0 |
| 289 | +#define LIBXML_AUTOMATA_ENABLED |
| 290 | +#endif |
| 291 | + |
| 292 | +/** |
| 293 | + * LIBXML_SCHEMAS_ENABLED: |
| 294 | + * |
| 295 | + * Whether the Schemas validation interfaces are compiled in |
| 296 | + */ |
| 297 | +#if 0 |
| 298 | +#define LIBXML_SCHEMAS_ENABLED |
| 299 | +#endif |
| 300 | + |
| 301 | +/** |
| 302 | + * LIBXML_SCHEMATRON_ENABLED: |
| 303 | + * |
| 304 | + * Whether the Schematron validation interfaces are compiled in |
| 305 | + */ |
| 306 | +#if 0 |
| 307 | +#define LIBXML_SCHEMATRON_ENABLED |
| 308 | +#endif |
| 309 | + |
| 310 | +/** |
| 311 | + * LIBXML_MODULES_ENABLED: |
| 312 | + * |
| 313 | + * Whether the module interfaces are compiled in |
| 314 | + */ |
| 315 | +#if 1 |
| 316 | +#define LIBXML_MODULES_ENABLED |
| 317 | +/** |
| 318 | + * LIBXML_MODULE_EXTENSION: |
| 319 | + * |
| 320 | + * the string suffix used by dynamic modules (usually shared libraries) |
| 321 | + */ |
| 322 | +#define LIBXML_MODULE_EXTENSION ".dll" |
| 323 | +#endif |
| 324 | + |
| 325 | +/** |
| 326 | + * LIBXML_ZLIB_ENABLED: |
| 327 | + * |
| 328 | + * Whether the Zlib support is compiled in |
| 329 | + */ |
| 330 | +#if 0 |
| 331 | +#define LIBXML_ZLIB_ENABLED |
| 332 | +#endif |
| 333 | + |
| 334 | +/** |
| 335 | + * LIBXML_LZMA_ENABLED: |
| 336 | + * |
| 337 | + * Whether the Lzma support is compiled in |
| 338 | + */ |
| 339 | +#if 0 |
| 340 | +#define LIBXML_LZMA_ENABLED |
| 341 | +#endif |
| 342 | + |
| 343 | +#include <libxml/xmlexports.h> |
| 344 | + |
| 345 | +#endif |
| 346 | + |
| 347 | + |
0 commit comments