Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
libxml/xmlversion.h@0:03b5121a232e, 2016-08-25 (annotated)
- Committer:
- pcercuei
- Date:
- Thu Aug 25 10:05:35 2016 +0000
- Revision:
- 0:03b5121a232e
Add basic C files of libxml2 2.9.4
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pcercuei | 0:03b5121a232e | 1 | /* |
| pcercuei | 0:03b5121a232e | 2 | * Summary: compile-time version informations |
| pcercuei | 0:03b5121a232e | 3 | * Description: compile-time version informations for the XML library |
| pcercuei | 0:03b5121a232e | 4 | * |
| pcercuei | 0:03b5121a232e | 5 | * Copy: See Copyright for the status of this software. |
| pcercuei | 0:03b5121a232e | 6 | * |
| pcercuei | 0:03b5121a232e | 7 | * Author: Daniel Veillard |
| pcercuei | 0:03b5121a232e | 8 | */ |
| pcercuei | 0:03b5121a232e | 9 | |
| pcercuei | 0:03b5121a232e | 10 | #ifndef __XML_VERSION_H__ |
| pcercuei | 0:03b5121a232e | 11 | #define __XML_VERSION_H__ |
| pcercuei | 0:03b5121a232e | 12 | |
| pcercuei | 0:03b5121a232e | 13 | #include <libxml/xmlexports.h> |
| pcercuei | 0:03b5121a232e | 14 | |
| pcercuei | 0:03b5121a232e | 15 | #ifdef __cplusplus |
| pcercuei | 0:03b5121a232e | 16 | extern "C" { |
| pcercuei | 0:03b5121a232e | 17 | #endif |
| pcercuei | 0:03b5121a232e | 18 | |
| pcercuei | 0:03b5121a232e | 19 | /* |
| pcercuei | 0:03b5121a232e | 20 | * use those to be sure nothing nasty will happen if |
| pcercuei | 0:03b5121a232e | 21 | * your library and includes mismatch |
| pcercuei | 0:03b5121a232e | 22 | */ |
| pcercuei | 0:03b5121a232e | 23 | #ifndef LIBXML2_COMPILING_MSCCDEF |
| pcercuei | 0:03b5121a232e | 24 | XMLPUBFUN void XMLCALL xmlCheckVersion(int version); |
| pcercuei | 0:03b5121a232e | 25 | #endif /* LIBXML2_COMPILING_MSCCDEF */ |
| pcercuei | 0:03b5121a232e | 26 | |
| pcercuei | 0:03b5121a232e | 27 | /** |
| pcercuei | 0:03b5121a232e | 28 | * LIBXML_DOTTED_VERSION: |
| pcercuei | 0:03b5121a232e | 29 | * |
| pcercuei | 0:03b5121a232e | 30 | * the version string like "1.2.3" |
| pcercuei | 0:03b5121a232e | 31 | */ |
| pcercuei | 0:03b5121a232e | 32 | #define LIBXML_DOTTED_VERSION "2.9.3" |
| pcercuei | 0:03b5121a232e | 33 | |
| pcercuei | 0:03b5121a232e | 34 | /** |
| pcercuei | 0:03b5121a232e | 35 | * LIBXML_VERSION: |
| pcercuei | 0:03b5121a232e | 36 | * |
| pcercuei | 0:03b5121a232e | 37 | * the version number: 1.2.3 value is 10203 |
| pcercuei | 0:03b5121a232e | 38 | */ |
| pcercuei | 0:03b5121a232e | 39 | #define LIBXML_VERSION 20903 |
| pcercuei | 0:03b5121a232e | 40 | |
| pcercuei | 0:03b5121a232e | 41 | /** |
| pcercuei | 0:03b5121a232e | 42 | * LIBXML_VERSION_STRING: |
| pcercuei | 0:03b5121a232e | 43 | * |
| pcercuei | 0:03b5121a232e | 44 | * the version number string, 1.2.3 value is "10203" |
| pcercuei | 0:03b5121a232e | 45 | */ |
| pcercuei | 0:03b5121a232e | 46 | #define LIBXML_VERSION_STRING "20903" |
| pcercuei | 0:03b5121a232e | 47 | |
| pcercuei | 0:03b5121a232e | 48 | /** |
| pcercuei | 0:03b5121a232e | 49 | * LIBXML_VERSION_EXTRA: |
| pcercuei | 0:03b5121a232e | 50 | * |
| pcercuei | 0:03b5121a232e | 51 | * extra version information, used to show a CVS compilation |
| pcercuei | 0:03b5121a232e | 52 | */ |
| pcercuei | 0:03b5121a232e | 53 | #define LIBXML_VERSION_EXTRA "" |
| pcercuei | 0:03b5121a232e | 54 | |
| pcercuei | 0:03b5121a232e | 55 | /** |
| pcercuei | 0:03b5121a232e | 56 | * LIBXML_TEST_VERSION: |
| pcercuei | 0:03b5121a232e | 57 | * |
| pcercuei | 0:03b5121a232e | 58 | * Macro to check that the libxml version in use is compatible with |
| pcercuei | 0:03b5121a232e | 59 | * the version the software has been compiled against |
| pcercuei | 0:03b5121a232e | 60 | */ |
| pcercuei | 0:03b5121a232e | 61 | #define LIBXML_TEST_VERSION xmlCheckVersion(20903); |
| pcercuei | 0:03b5121a232e | 62 | |
| pcercuei | 0:03b5121a232e | 63 | #ifndef VMS |
| pcercuei | 0:03b5121a232e | 64 | #if 0 |
| pcercuei | 0:03b5121a232e | 65 | /** |
| pcercuei | 0:03b5121a232e | 66 | * WITH_TRIO: |
| pcercuei | 0:03b5121a232e | 67 | * |
| pcercuei | 0:03b5121a232e | 68 | * defined if the trio support need to be configured in |
| pcercuei | 0:03b5121a232e | 69 | */ |
| pcercuei | 0:03b5121a232e | 70 | #define WITH_TRIO |
| pcercuei | 0:03b5121a232e | 71 | #else |
| pcercuei | 0:03b5121a232e | 72 | /** |
| pcercuei | 0:03b5121a232e | 73 | * WITHOUT_TRIO: |
| pcercuei | 0:03b5121a232e | 74 | * |
| pcercuei | 0:03b5121a232e | 75 | * defined if the trio support should not be configured in |
| pcercuei | 0:03b5121a232e | 76 | */ |
| pcercuei | 0:03b5121a232e | 77 | #define WITHOUT_TRIO |
| pcercuei | 0:03b5121a232e | 78 | #endif |
| pcercuei | 0:03b5121a232e | 79 | #else /* VMS */ |
| pcercuei | 0:03b5121a232e | 80 | /** |
| pcercuei | 0:03b5121a232e | 81 | * WITH_TRIO: |
| pcercuei | 0:03b5121a232e | 82 | * |
| pcercuei | 0:03b5121a232e | 83 | * defined if the trio support need to be configured in |
| pcercuei | 0:03b5121a232e | 84 | */ |
| pcercuei | 0:03b5121a232e | 85 | #define WITH_TRIO 1 |
| pcercuei | 0:03b5121a232e | 86 | #endif /* VMS */ |
| pcercuei | 0:03b5121a232e | 87 | |
| pcercuei | 0:03b5121a232e | 88 | /** |
| pcercuei | 0:03b5121a232e | 89 | * LIBXML_THREAD_ENABLED: |
| pcercuei | 0:03b5121a232e | 90 | * |
| pcercuei | 0:03b5121a232e | 91 | * Whether the thread support is configured in |
| pcercuei | 0:03b5121a232e | 92 | */ |
| pcercuei | 0:03b5121a232e | 93 | #if 0 |
| pcercuei | 0:03b5121a232e | 94 | #if defined(_REENTRANT) || defined(__MT__) || \ |
| pcercuei | 0:03b5121a232e | 95 | (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L)) |
| pcercuei | 0:03b5121a232e | 96 | #define LIBXML_THREAD_ENABLED |
| pcercuei | 0:03b5121a232e | 97 | #endif |
| pcercuei | 0:03b5121a232e | 98 | #endif |
| pcercuei | 0:03b5121a232e | 99 | |
| pcercuei | 0:03b5121a232e | 100 | /** |
| pcercuei | 0:03b5121a232e | 101 | * LIBXML_THREAD_ALLOC_ENABLED: |
| pcercuei | 0:03b5121a232e | 102 | * |
| pcercuei | 0:03b5121a232e | 103 | * Whether the allocation hooks are per-thread |
| pcercuei | 0:03b5121a232e | 104 | */ |
| pcercuei | 0:03b5121a232e | 105 | #if 0 |
| pcercuei | 0:03b5121a232e | 106 | #define LIBXML_THREAD_ALLOC_ENABLED |
| pcercuei | 0:03b5121a232e | 107 | #endif |
| pcercuei | 0:03b5121a232e | 108 | |
| pcercuei | 0:03b5121a232e | 109 | /** |
| pcercuei | 0:03b5121a232e | 110 | * LIBXML_TREE_ENABLED: |
| pcercuei | 0:03b5121a232e | 111 | * |
| pcercuei | 0:03b5121a232e | 112 | * Whether the DOM like tree manipulation API support is configured in |
| pcercuei | 0:03b5121a232e | 113 | */ |
| pcercuei | 0:03b5121a232e | 114 | #if 0 |
| pcercuei | 0:03b5121a232e | 115 | #define LIBXML_TREE_ENABLED |
| pcercuei | 0:03b5121a232e | 116 | #endif |
| pcercuei | 0:03b5121a232e | 117 | |
| pcercuei | 0:03b5121a232e | 118 | /** |
| pcercuei | 0:03b5121a232e | 119 | * LIBXML_OUTPUT_ENABLED: |
| pcercuei | 0:03b5121a232e | 120 | * |
| pcercuei | 0:03b5121a232e | 121 | * Whether the serialization/saving support is configured in |
| pcercuei | 0:03b5121a232e | 122 | */ |
| pcercuei | 0:03b5121a232e | 123 | #if 0 |
| pcercuei | 0:03b5121a232e | 124 | #define LIBXML_OUTPUT_ENABLED |
| pcercuei | 0:03b5121a232e | 125 | #endif |
| pcercuei | 0:03b5121a232e | 126 | |
| pcercuei | 0:03b5121a232e | 127 | /** |
| pcercuei | 0:03b5121a232e | 128 | * LIBXML_PUSH_ENABLED: |
| pcercuei | 0:03b5121a232e | 129 | * |
| pcercuei | 0:03b5121a232e | 130 | * Whether the push parsing interfaces are configured in |
| pcercuei | 0:03b5121a232e | 131 | */ |
| pcercuei | 0:03b5121a232e | 132 | #if 0 |
| pcercuei | 0:03b5121a232e | 133 | #define LIBXML_PUSH_ENABLED |
| pcercuei | 0:03b5121a232e | 134 | #endif |
| pcercuei | 0:03b5121a232e | 135 | |
| pcercuei | 0:03b5121a232e | 136 | /** |
| pcercuei | 0:03b5121a232e | 137 | * LIBXML_READER_ENABLED: |
| pcercuei | 0:03b5121a232e | 138 | * |
| pcercuei | 0:03b5121a232e | 139 | * Whether the xmlReader parsing interface is configured in |
| pcercuei | 0:03b5121a232e | 140 | */ |
| pcercuei | 0:03b5121a232e | 141 | #if 0 |
| pcercuei | 0:03b5121a232e | 142 | #define LIBXML_READER_ENABLED |
| pcercuei | 0:03b5121a232e | 143 | #endif |
| pcercuei | 0:03b5121a232e | 144 | |
| pcercuei | 0:03b5121a232e | 145 | /** |
| pcercuei | 0:03b5121a232e | 146 | * LIBXML_PATTERN_ENABLED: |
| pcercuei | 0:03b5121a232e | 147 | * |
| pcercuei | 0:03b5121a232e | 148 | * Whether the xmlPattern node selection interface is configured in |
| pcercuei | 0:03b5121a232e | 149 | */ |
| pcercuei | 0:03b5121a232e | 150 | #if 0 |
| pcercuei | 0:03b5121a232e | 151 | #define LIBXML_PATTERN_ENABLED |
| pcercuei | 0:03b5121a232e | 152 | #endif |
| pcercuei | 0:03b5121a232e | 153 | |
| pcercuei | 0:03b5121a232e | 154 | /** |
| pcercuei | 0:03b5121a232e | 155 | * LIBXML_WRITER_ENABLED: |
| pcercuei | 0:03b5121a232e | 156 | * |
| pcercuei | 0:03b5121a232e | 157 | * Whether the xmlWriter saving interface is configured in |
| pcercuei | 0:03b5121a232e | 158 | */ |
| pcercuei | 0:03b5121a232e | 159 | #if 0 |
| pcercuei | 0:03b5121a232e | 160 | #define LIBXML_WRITER_ENABLED |
| pcercuei | 0:03b5121a232e | 161 | #endif |
| pcercuei | 0:03b5121a232e | 162 | |
| pcercuei | 0:03b5121a232e | 163 | /** |
| pcercuei | 0:03b5121a232e | 164 | * LIBXML_SAX1_ENABLED: |
| pcercuei | 0:03b5121a232e | 165 | * |
| pcercuei | 0:03b5121a232e | 166 | * Whether the older SAX1 interface is configured in |
| pcercuei | 0:03b5121a232e | 167 | */ |
| pcercuei | 0:03b5121a232e | 168 | #if 0 |
| pcercuei | 0:03b5121a232e | 169 | #define LIBXML_SAX1_ENABLED |
| pcercuei | 0:03b5121a232e | 170 | #endif |
| pcercuei | 0:03b5121a232e | 171 | |
| pcercuei | 0:03b5121a232e | 172 | /** |
| pcercuei | 0:03b5121a232e | 173 | * LIBXML_FTP_ENABLED: |
| pcercuei | 0:03b5121a232e | 174 | * |
| pcercuei | 0:03b5121a232e | 175 | * Whether the FTP support is configured in |
| pcercuei | 0:03b5121a232e | 176 | */ |
| pcercuei | 0:03b5121a232e | 177 | #if 0 |
| pcercuei | 0:03b5121a232e | 178 | #define LIBXML_FTP_ENABLED |
| pcercuei | 0:03b5121a232e | 179 | #endif |
| pcercuei | 0:03b5121a232e | 180 | |
| pcercuei | 0:03b5121a232e | 181 | /** |
| pcercuei | 0:03b5121a232e | 182 | * LIBXML_HTTP_ENABLED: |
| pcercuei | 0:03b5121a232e | 183 | * |
| pcercuei | 0:03b5121a232e | 184 | * Whether the HTTP support is configured in |
| pcercuei | 0:03b5121a232e | 185 | */ |
| pcercuei | 0:03b5121a232e | 186 | #if 0 |
| pcercuei | 0:03b5121a232e | 187 | #define LIBXML_HTTP_ENABLED |
| pcercuei | 0:03b5121a232e | 188 | #endif |
| pcercuei | 0:03b5121a232e | 189 | |
| pcercuei | 0:03b5121a232e | 190 | /** |
| pcercuei | 0:03b5121a232e | 191 | * LIBXML_VALID_ENABLED: |
| pcercuei | 0:03b5121a232e | 192 | * |
| pcercuei | 0:03b5121a232e | 193 | * Whether the DTD validation support is configured in |
| pcercuei | 0:03b5121a232e | 194 | */ |
| pcercuei | 0:03b5121a232e | 195 | #if 0 |
| pcercuei | 0:03b5121a232e | 196 | #define LIBXML_VALID_ENABLED |
| pcercuei | 0:03b5121a232e | 197 | #endif |
| pcercuei | 0:03b5121a232e | 198 | |
| pcercuei | 0:03b5121a232e | 199 | /** |
| pcercuei | 0:03b5121a232e | 200 | * LIBXML_HTML_ENABLED: |
| pcercuei | 0:03b5121a232e | 201 | * |
| pcercuei | 0:03b5121a232e | 202 | * Whether the HTML support is configured in |
| pcercuei | 0:03b5121a232e | 203 | */ |
| pcercuei | 0:03b5121a232e | 204 | #if 0 |
| pcercuei | 0:03b5121a232e | 205 | #define LIBXML_HTML_ENABLED |
| pcercuei | 0:03b5121a232e | 206 | #endif |
| pcercuei | 0:03b5121a232e | 207 | |
| pcercuei | 0:03b5121a232e | 208 | /** |
| pcercuei | 0:03b5121a232e | 209 | * LIBXML_LEGACY_ENABLED: |
| pcercuei | 0:03b5121a232e | 210 | * |
| pcercuei | 0:03b5121a232e | 211 | * Whether the deprecated APIs are compiled in for compatibility |
| pcercuei | 0:03b5121a232e | 212 | */ |
| pcercuei | 0:03b5121a232e | 213 | #if 0 |
| pcercuei | 0:03b5121a232e | 214 | #define LIBXML_LEGACY_ENABLED |
| pcercuei | 0:03b5121a232e | 215 | #endif |
| pcercuei | 0:03b5121a232e | 216 | |
| pcercuei | 0:03b5121a232e | 217 | /** |
| pcercuei | 0:03b5121a232e | 218 | * LIBXML_C14N_ENABLED: |
| pcercuei | 0:03b5121a232e | 219 | * |
| pcercuei | 0:03b5121a232e | 220 | * Whether the Canonicalization support is configured in |
| pcercuei | 0:03b5121a232e | 221 | */ |
| pcercuei | 0:03b5121a232e | 222 | #if 0 |
| pcercuei | 0:03b5121a232e | 223 | #define LIBXML_C14N_ENABLED |
| pcercuei | 0:03b5121a232e | 224 | #endif |
| pcercuei | 0:03b5121a232e | 225 | |
| pcercuei | 0:03b5121a232e | 226 | /** |
| pcercuei | 0:03b5121a232e | 227 | * LIBXML_CATALOG_ENABLED: |
| pcercuei | 0:03b5121a232e | 228 | * |
| pcercuei | 0:03b5121a232e | 229 | * Whether the Catalog support is configured in |
| pcercuei | 0:03b5121a232e | 230 | */ |
| pcercuei | 0:03b5121a232e | 231 | #if 0 |
| pcercuei | 0:03b5121a232e | 232 | #define LIBXML_CATALOG_ENABLED |
| pcercuei | 0:03b5121a232e | 233 | #endif |
| pcercuei | 0:03b5121a232e | 234 | |
| pcercuei | 0:03b5121a232e | 235 | /** |
| pcercuei | 0:03b5121a232e | 236 | * LIBXML_DOCB_ENABLED: |
| pcercuei | 0:03b5121a232e | 237 | * |
| pcercuei | 0:03b5121a232e | 238 | * Whether the SGML Docbook support is configured in |
| pcercuei | 0:03b5121a232e | 239 | */ |
| pcercuei | 0:03b5121a232e | 240 | #if 0 |
| pcercuei | 0:03b5121a232e | 241 | #define LIBXML_DOCB_ENABLED |
| pcercuei | 0:03b5121a232e | 242 | #endif |
| pcercuei | 0:03b5121a232e | 243 | |
| pcercuei | 0:03b5121a232e | 244 | /** |
| pcercuei | 0:03b5121a232e | 245 | * LIBXML_XPATH_ENABLED: |
| pcercuei | 0:03b5121a232e | 246 | * |
| pcercuei | 0:03b5121a232e | 247 | * Whether XPath is configured in |
| pcercuei | 0:03b5121a232e | 248 | */ |
| pcercuei | 0:03b5121a232e | 249 | #if 0 |
| pcercuei | 0:03b5121a232e | 250 | #define LIBXML_XPATH_ENABLED |
| pcercuei | 0:03b5121a232e | 251 | #endif |
| pcercuei | 0:03b5121a232e | 252 | |
| pcercuei | 0:03b5121a232e | 253 | /** |
| pcercuei | 0:03b5121a232e | 254 | * LIBXML_XPTR_ENABLED: |
| pcercuei | 0:03b5121a232e | 255 | * |
| pcercuei | 0:03b5121a232e | 256 | * Whether XPointer is configured in |
| pcercuei | 0:03b5121a232e | 257 | */ |
| pcercuei | 0:03b5121a232e | 258 | #if 0 |
| pcercuei | 0:03b5121a232e | 259 | #define LIBXML_XPTR_ENABLED |
| pcercuei | 0:03b5121a232e | 260 | #endif |
| pcercuei | 0:03b5121a232e | 261 | |
| pcercuei | 0:03b5121a232e | 262 | /** |
| pcercuei | 0:03b5121a232e | 263 | * LIBXML_XINCLUDE_ENABLED: |
| pcercuei | 0:03b5121a232e | 264 | * |
| pcercuei | 0:03b5121a232e | 265 | * Whether XInclude is configured in |
| pcercuei | 0:03b5121a232e | 266 | */ |
| pcercuei | 0:03b5121a232e | 267 | #if 0 |
| pcercuei | 0:03b5121a232e | 268 | #define LIBXML_XINCLUDE_ENABLED |
| pcercuei | 0:03b5121a232e | 269 | #endif |
| pcercuei | 0:03b5121a232e | 270 | |
| pcercuei | 0:03b5121a232e | 271 | /** |
| pcercuei | 0:03b5121a232e | 272 | * LIBXML_ICONV_ENABLED: |
| pcercuei | 0:03b5121a232e | 273 | * |
| pcercuei | 0:03b5121a232e | 274 | * Whether iconv support is available |
| pcercuei | 0:03b5121a232e | 275 | */ |
| pcercuei | 0:03b5121a232e | 276 | #if 0 |
| pcercuei | 0:03b5121a232e | 277 | #define LIBXML_ICONV_ENABLED |
| pcercuei | 0:03b5121a232e | 278 | #endif |
| pcercuei | 0:03b5121a232e | 279 | |
| pcercuei | 0:03b5121a232e | 280 | /** |
| pcercuei | 0:03b5121a232e | 281 | * LIBXML_ICU_ENABLED: |
| pcercuei | 0:03b5121a232e | 282 | * |
| pcercuei | 0:03b5121a232e | 283 | * Whether icu support is available |
| pcercuei | 0:03b5121a232e | 284 | */ |
| pcercuei | 0:03b5121a232e | 285 | #if 0 |
| pcercuei | 0:03b5121a232e | 286 | #define LIBXML_ICU_ENABLED |
| pcercuei | 0:03b5121a232e | 287 | #endif |
| pcercuei | 0:03b5121a232e | 288 | |
| pcercuei | 0:03b5121a232e | 289 | /** |
| pcercuei | 0:03b5121a232e | 290 | * LIBXML_ISO8859X_ENABLED: |
| pcercuei | 0:03b5121a232e | 291 | * |
| pcercuei | 0:03b5121a232e | 292 | * Whether ISO-8859-* support is made available in case iconv is not |
| pcercuei | 0:03b5121a232e | 293 | */ |
| pcercuei | 0:03b5121a232e | 294 | #if 0 |
| pcercuei | 0:03b5121a232e | 295 | #define LIBXML_ISO8859X_ENABLED |
| pcercuei | 0:03b5121a232e | 296 | #endif |
| pcercuei | 0:03b5121a232e | 297 | |
| pcercuei | 0:03b5121a232e | 298 | /** |
| pcercuei | 0:03b5121a232e | 299 | * LIBXML_DEBUG_ENABLED: |
| pcercuei | 0:03b5121a232e | 300 | * |
| pcercuei | 0:03b5121a232e | 301 | * Whether Debugging module is configured in |
| pcercuei | 0:03b5121a232e | 302 | */ |
| pcercuei | 0:03b5121a232e | 303 | #if 0 |
| pcercuei | 0:03b5121a232e | 304 | #define LIBXML_DEBUG_ENABLED |
| pcercuei | 0:03b5121a232e | 305 | #endif |
| pcercuei | 0:03b5121a232e | 306 | |
| pcercuei | 0:03b5121a232e | 307 | /** |
| pcercuei | 0:03b5121a232e | 308 | * DEBUG_MEMORY_LOCATION: |
| pcercuei | 0:03b5121a232e | 309 | * |
| pcercuei | 0:03b5121a232e | 310 | * Whether the memory debugging is configured in |
| pcercuei | 0:03b5121a232e | 311 | */ |
| pcercuei | 0:03b5121a232e | 312 | #if 0 |
| pcercuei | 0:03b5121a232e | 313 | #define DEBUG_MEMORY_LOCATION |
| pcercuei | 0:03b5121a232e | 314 | #endif |
| pcercuei | 0:03b5121a232e | 315 | |
| pcercuei | 0:03b5121a232e | 316 | /** |
| pcercuei | 0:03b5121a232e | 317 | * LIBXML_DEBUG_RUNTIME: |
| pcercuei | 0:03b5121a232e | 318 | * |
| pcercuei | 0:03b5121a232e | 319 | * Whether the runtime debugging is configured in |
| pcercuei | 0:03b5121a232e | 320 | */ |
| pcercuei | 0:03b5121a232e | 321 | #if 0 |
| pcercuei | 0:03b5121a232e | 322 | #define LIBXML_DEBUG_RUNTIME |
| pcercuei | 0:03b5121a232e | 323 | #endif |
| pcercuei | 0:03b5121a232e | 324 | |
| pcercuei | 0:03b5121a232e | 325 | /** |
| pcercuei | 0:03b5121a232e | 326 | * LIBXML_UNICODE_ENABLED: |
| pcercuei | 0:03b5121a232e | 327 | * |
| pcercuei | 0:03b5121a232e | 328 | * Whether the Unicode related interfaces are compiled in |
| pcercuei | 0:03b5121a232e | 329 | */ |
| pcercuei | 0:03b5121a232e | 330 | #if 0 |
| pcercuei | 0:03b5121a232e | 331 | #define LIBXML_UNICODE_ENABLED |
| pcercuei | 0:03b5121a232e | 332 | #endif |
| pcercuei | 0:03b5121a232e | 333 | |
| pcercuei | 0:03b5121a232e | 334 | /** |
| pcercuei | 0:03b5121a232e | 335 | * LIBXML_REGEXP_ENABLED: |
| pcercuei | 0:03b5121a232e | 336 | * |
| pcercuei | 0:03b5121a232e | 337 | * Whether the regular expressions interfaces are compiled in |
| pcercuei | 0:03b5121a232e | 338 | */ |
| pcercuei | 0:03b5121a232e | 339 | #if 0 |
| pcercuei | 0:03b5121a232e | 340 | #define LIBXML_REGEXP_ENABLED |
| pcercuei | 0:03b5121a232e | 341 | #endif |
| pcercuei | 0:03b5121a232e | 342 | |
| pcercuei | 0:03b5121a232e | 343 | /** |
| pcercuei | 0:03b5121a232e | 344 | * LIBXML_AUTOMATA_ENABLED: |
| pcercuei | 0:03b5121a232e | 345 | * |
| pcercuei | 0:03b5121a232e | 346 | * Whether the automata interfaces are compiled in |
| pcercuei | 0:03b5121a232e | 347 | */ |
| pcercuei | 0:03b5121a232e | 348 | #if 0 |
| pcercuei | 0:03b5121a232e | 349 | #define LIBXML_AUTOMATA_ENABLED |
| pcercuei | 0:03b5121a232e | 350 | #endif |
| pcercuei | 0:03b5121a232e | 351 | |
| pcercuei | 0:03b5121a232e | 352 | /** |
| pcercuei | 0:03b5121a232e | 353 | * LIBXML_EXPR_ENABLED: |
| pcercuei | 0:03b5121a232e | 354 | * |
| pcercuei | 0:03b5121a232e | 355 | * Whether the formal expressions interfaces are compiled in |
| pcercuei | 0:03b5121a232e | 356 | */ |
| pcercuei | 0:03b5121a232e | 357 | #if 0 |
| pcercuei | 0:03b5121a232e | 358 | #define LIBXML_EXPR_ENABLED |
| pcercuei | 0:03b5121a232e | 359 | #endif |
| pcercuei | 0:03b5121a232e | 360 | |
| pcercuei | 0:03b5121a232e | 361 | /** |
| pcercuei | 0:03b5121a232e | 362 | * LIBXML_SCHEMAS_ENABLED: |
| pcercuei | 0:03b5121a232e | 363 | * |
| pcercuei | 0:03b5121a232e | 364 | * Whether the Schemas validation interfaces are compiled in |
| pcercuei | 0:03b5121a232e | 365 | */ |
| pcercuei | 0:03b5121a232e | 366 | #if 0 |
| pcercuei | 0:03b5121a232e | 367 | #define LIBXML_SCHEMAS_ENABLED |
| pcercuei | 0:03b5121a232e | 368 | #endif |
| pcercuei | 0:03b5121a232e | 369 | |
| pcercuei | 0:03b5121a232e | 370 | /** |
| pcercuei | 0:03b5121a232e | 371 | * LIBXML_SCHEMATRON_ENABLED: |
| pcercuei | 0:03b5121a232e | 372 | * |
| pcercuei | 0:03b5121a232e | 373 | * Whether the Schematron validation interfaces are compiled in |
| pcercuei | 0:03b5121a232e | 374 | */ |
| pcercuei | 0:03b5121a232e | 375 | #if 0 |
| pcercuei | 0:03b5121a232e | 376 | #define LIBXML_SCHEMATRON_ENABLED |
| pcercuei | 0:03b5121a232e | 377 | #endif |
| pcercuei | 0:03b5121a232e | 378 | |
| pcercuei | 0:03b5121a232e | 379 | /** |
| pcercuei | 0:03b5121a232e | 380 | * LIBXML_MODULES_ENABLED: |
| pcercuei | 0:03b5121a232e | 381 | * |
| pcercuei | 0:03b5121a232e | 382 | * Whether the module interfaces are compiled in |
| pcercuei | 0:03b5121a232e | 383 | */ |
| pcercuei | 0:03b5121a232e | 384 | #if 0 |
| pcercuei | 0:03b5121a232e | 385 | #define LIBXML_MODULES_ENABLED |
| pcercuei | 0:03b5121a232e | 386 | /** |
| pcercuei | 0:03b5121a232e | 387 | * LIBXML_MODULE_EXTENSION: |
| pcercuei | 0:03b5121a232e | 388 | * |
| pcercuei | 0:03b5121a232e | 389 | * the string suffix used by dynamic modules (usually shared libraries) |
| pcercuei | 0:03b5121a232e | 390 | */ |
| pcercuei | 0:03b5121a232e | 391 | #define LIBXML_MODULE_EXTENSION "" |
| pcercuei | 0:03b5121a232e | 392 | #endif |
| pcercuei | 0:03b5121a232e | 393 | |
| pcercuei | 0:03b5121a232e | 394 | /** |
| pcercuei | 0:03b5121a232e | 395 | * LIBXML_ZLIB_ENABLED: |
| pcercuei | 0:03b5121a232e | 396 | * |
| pcercuei | 0:03b5121a232e | 397 | * Whether the Zlib support is compiled in |
| pcercuei | 0:03b5121a232e | 398 | */ |
| pcercuei | 0:03b5121a232e | 399 | #if 0 |
| pcercuei | 0:03b5121a232e | 400 | #define LIBXML_ZLIB_ENABLED |
| pcercuei | 0:03b5121a232e | 401 | #endif |
| pcercuei | 0:03b5121a232e | 402 | |
| pcercuei | 0:03b5121a232e | 403 | /** |
| pcercuei | 0:03b5121a232e | 404 | * LIBXML_LZMA_ENABLED: |
| pcercuei | 0:03b5121a232e | 405 | * |
| pcercuei | 0:03b5121a232e | 406 | * Whether the Lzma support is compiled in |
| pcercuei | 0:03b5121a232e | 407 | */ |
| pcercuei | 0:03b5121a232e | 408 | #if 0 |
| pcercuei | 0:03b5121a232e | 409 | #define LIBXML_LZMA_ENABLED |
| pcercuei | 0:03b5121a232e | 410 | #endif |
| pcercuei | 0:03b5121a232e | 411 | |
| pcercuei | 0:03b5121a232e | 412 | #ifdef __GNUC__ |
| pcercuei | 0:03b5121a232e | 413 | #ifdef HAVE_ANSIDECL_H |
| pcercuei | 0:03b5121a232e | 414 | #include <ansidecl.h> |
| pcercuei | 0:03b5121a232e | 415 | #endif |
| pcercuei | 0:03b5121a232e | 416 | |
| pcercuei | 0:03b5121a232e | 417 | /** |
| pcercuei | 0:03b5121a232e | 418 | * ATTRIBUTE_UNUSED: |
| pcercuei | 0:03b5121a232e | 419 | * |
| pcercuei | 0:03b5121a232e | 420 | * Macro used to signal to GCC unused function parameters |
| pcercuei | 0:03b5121a232e | 421 | */ |
| pcercuei | 0:03b5121a232e | 422 | |
| pcercuei | 0:03b5121a232e | 423 | #ifndef ATTRIBUTE_UNUSED |
| pcercuei | 0:03b5121a232e | 424 | # if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7))) |
| pcercuei | 0:03b5121a232e | 425 | # define ATTRIBUTE_UNUSED __attribute__((unused)) |
| pcercuei | 0:03b5121a232e | 426 | # else |
| pcercuei | 0:03b5121a232e | 427 | # define ATTRIBUTE_UNUSED |
| pcercuei | 0:03b5121a232e | 428 | # endif |
| pcercuei | 0:03b5121a232e | 429 | #endif |
| pcercuei | 0:03b5121a232e | 430 | |
| pcercuei | 0:03b5121a232e | 431 | /** |
| pcercuei | 0:03b5121a232e | 432 | * LIBXML_ATTR_ALLOC_SIZE: |
| pcercuei | 0:03b5121a232e | 433 | * |
| pcercuei | 0:03b5121a232e | 434 | * Macro used to indicate to GCC this is an allocator function |
| pcercuei | 0:03b5121a232e | 435 | */ |
| pcercuei | 0:03b5121a232e | 436 | |
| pcercuei | 0:03b5121a232e | 437 | #ifndef LIBXML_ATTR_ALLOC_SIZE |
| pcercuei | 0:03b5121a232e | 438 | # if (!defined(__clang__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))) |
| pcercuei | 0:03b5121a232e | 439 | # define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x))) |
| pcercuei | 0:03b5121a232e | 440 | # else |
| pcercuei | 0:03b5121a232e | 441 | # define LIBXML_ATTR_ALLOC_SIZE(x) |
| pcercuei | 0:03b5121a232e | 442 | # endif |
| pcercuei | 0:03b5121a232e | 443 | #else |
| pcercuei | 0:03b5121a232e | 444 | # define LIBXML_ATTR_ALLOC_SIZE(x) |
| pcercuei | 0:03b5121a232e | 445 | #endif |
| pcercuei | 0:03b5121a232e | 446 | |
| pcercuei | 0:03b5121a232e | 447 | /** |
| pcercuei | 0:03b5121a232e | 448 | * LIBXML_ATTR_FORMAT: |
| pcercuei | 0:03b5121a232e | 449 | * |
| pcercuei | 0:03b5121a232e | 450 | * Macro used to indicate to GCC the parameter are printf like |
| pcercuei | 0:03b5121a232e | 451 | */ |
| pcercuei | 0:03b5121a232e | 452 | |
| pcercuei | 0:03b5121a232e | 453 | #ifndef LIBXML_ATTR_FORMAT |
| pcercuei | 0:03b5121a232e | 454 | # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3))) |
| pcercuei | 0:03b5121a232e | 455 | # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args))) |
| pcercuei | 0:03b5121a232e | 456 | # else |
| pcercuei | 0:03b5121a232e | 457 | # define LIBXML_ATTR_FORMAT(fmt,args) |
| pcercuei | 0:03b5121a232e | 458 | # endif |
| pcercuei | 0:03b5121a232e | 459 | #else |
| pcercuei | 0:03b5121a232e | 460 | # define LIBXML_ATTR_FORMAT(fmt,args) |
| pcercuei | 0:03b5121a232e | 461 | #endif |
| pcercuei | 0:03b5121a232e | 462 | |
| pcercuei | 0:03b5121a232e | 463 | #else /* ! __GNUC__ */ |
| pcercuei | 0:03b5121a232e | 464 | /** |
| pcercuei | 0:03b5121a232e | 465 | * ATTRIBUTE_UNUSED: |
| pcercuei | 0:03b5121a232e | 466 | * |
| pcercuei | 0:03b5121a232e | 467 | * Macro used to signal to GCC unused function parameters |
| pcercuei | 0:03b5121a232e | 468 | */ |
| pcercuei | 0:03b5121a232e | 469 | #define ATTRIBUTE_UNUSED |
| pcercuei | 0:03b5121a232e | 470 | /** |
| pcercuei | 0:03b5121a232e | 471 | * LIBXML_ATTR_ALLOC_SIZE: |
| pcercuei | 0:03b5121a232e | 472 | * |
| pcercuei | 0:03b5121a232e | 473 | * Macro used to indicate to GCC this is an allocator function |
| pcercuei | 0:03b5121a232e | 474 | */ |
| pcercuei | 0:03b5121a232e | 475 | #define LIBXML_ATTR_ALLOC_SIZE(x) |
| pcercuei | 0:03b5121a232e | 476 | /** |
| pcercuei | 0:03b5121a232e | 477 | * LIBXML_ATTR_FORMAT: |
| pcercuei | 0:03b5121a232e | 478 | * |
| pcercuei | 0:03b5121a232e | 479 | * Macro used to indicate to GCC the parameter are printf like |
| pcercuei | 0:03b5121a232e | 480 | */ |
| pcercuei | 0:03b5121a232e | 481 | #define LIBXML_ATTR_FORMAT(fmt,args) |
| pcercuei | 0:03b5121a232e | 482 | #endif /* __GNUC__ */ |
| pcercuei | 0:03b5121a232e | 483 | |
| pcercuei | 0:03b5121a232e | 484 | #ifdef __cplusplus |
| pcercuei | 0:03b5121a232e | 485 | } |
| pcercuei | 0:03b5121a232e | 486 | #endif /* __cplusplus */ |
| pcercuei | 0:03b5121a232e | 487 | #endif |
| pcercuei | 0:03b5121a232e | 488 | |
| pcercuei | 0:03b5121a232e | 489 |