xref: /aosp_15_r20/external/libxml2/include/libxml/xmlversion.h.in (revision 7c5688314b92172186c154356a6374bf7684c3ca)
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 "@VERSION@"
19
20/**
21 * LIBXML_VERSION:
22 *
23 * the version number: 1.2.3 value is 10203
24 */
25#define LIBXML_VERSION @LIBXML_VERSION_NUMBER@
26
27/**
28 * LIBXML_VERSION_STRING:
29 *
30 * the version number string, 1.2.3 value is "10203"
31 */
32#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
33
34/**
35 * LIBXML_VERSION_EXTRA:
36 *
37 * extra version information, used to show a git commit description
38 */
39#define LIBXML_VERSION_EXTRA "@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(@LIBXML_VERSION_NUMBER@);
48
49/**
50 * LIBXML_THREAD_ENABLED:
51 *
52 * Whether the thread support is configured in
53 */
54#if @WITH_THREADS@
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 @WITH_THREAD_ALLOC@
64#define LIBXML_THREAD_ALLOC_ENABLED
65#endif
66
67/**
68 * LIBXML_TREE_ENABLED:
69 *
70 * Always enabled since 2.14.0
71 */
72#define LIBXML_TREE_ENABLED
73
74/**
75 * LIBXML_OUTPUT_ENABLED:
76 *
77 * Whether the serialization/saving support is configured in
78 */
79#if @WITH_OUTPUT@
80#define LIBXML_OUTPUT_ENABLED
81#endif
82
83/**
84 * LIBXML_PUSH_ENABLED:
85 *
86 * Whether the push parsing interfaces are configured in
87 */
88#if @WITH_PUSH@
89#define LIBXML_PUSH_ENABLED
90#endif
91
92/**
93 * LIBXML_READER_ENABLED:
94 *
95 * Whether the xmlReader parsing interface is configured in
96 */
97#if @WITH_READER@
98#define LIBXML_READER_ENABLED
99#endif
100
101/**
102 * LIBXML_PATTERN_ENABLED:
103 *
104 * Whether the xmlPattern node selection interface is configured in
105 */
106#if @WITH_PATTERN@
107#define LIBXML_PATTERN_ENABLED
108#endif
109
110/**
111 * LIBXML_WRITER_ENABLED:
112 *
113 * Whether the xmlWriter saving interface is configured in
114 */
115#if @WITH_WRITER@
116#define LIBXML_WRITER_ENABLED
117#endif
118
119/**
120 * LIBXML_SAX1_ENABLED:
121 *
122 * Whether the older SAX1 interface is configured in
123 */
124#if @WITH_SAX1@
125#define LIBXML_SAX1_ENABLED
126#endif
127
128/**
129 * LIBXML_HTTP_ENABLED:
130 *
131 * Whether the HTTP support is configured in
132 */
133#if @WITH_HTTP@
134#define LIBXML_HTTP_ENABLED
135#endif
136
137/**
138 * LIBXML_VALID_ENABLED:
139 *
140 * Whether the DTD validation support is configured in
141 */
142#if @WITH_VALID@
143#define LIBXML_VALID_ENABLED
144#endif
145
146/**
147 * LIBXML_HTML_ENABLED:
148 *
149 * Whether the HTML support is configured in
150 */
151#if @WITH_HTML@
152#define LIBXML_HTML_ENABLED
153#endif
154
155/**
156 * LIBXML_LEGACY_ENABLED:
157 *
158 * Whether the deprecated APIs are compiled in for compatibility
159 */
160#if @WITH_LEGACY@
161#define LIBXML_LEGACY_ENABLED
162#endif
163
164/**
165 * LIBXML_C14N_ENABLED:
166 *
167 * Whether the Canonicalization support is configured in
168 */
169#if @WITH_C14N@
170#define LIBXML_C14N_ENABLED
171#endif
172
173/**
174 * LIBXML_CATALOG_ENABLED:
175 *
176 * Whether the Catalog support is configured in
177 */
178#if @WITH_CATALOG@
179#define LIBXML_CATALOG_ENABLED
180#endif
181
182/**
183 * LIBXML_XPATH_ENABLED:
184 *
185 * Whether XPath is configured in
186 */
187#if @WITH_XPATH@
188#define LIBXML_XPATH_ENABLED
189#endif
190
191/**
192 * LIBXML_XPTR_ENABLED:
193 *
194 * Whether XPointer is configured in
195 */
196#if @WITH_XPTR@
197#define LIBXML_XPTR_ENABLED
198#endif
199
200/**
201 * LIBXML_XINCLUDE_ENABLED:
202 *
203 * Whether XInclude is configured in
204 */
205#if @WITH_XINCLUDE@
206#define LIBXML_XINCLUDE_ENABLED
207#endif
208
209/**
210 * LIBXML_ICONV_ENABLED:
211 *
212 * Whether iconv support is available
213 */
214#if @WITH_ICONV@
215#define LIBXML_ICONV_ENABLED
216#endif
217
218/**
219 * LIBXML_ICU_ENABLED:
220 *
221 * Whether icu support is available
222 */
223#if @WITH_ICU@
224#define LIBXML_ICU_ENABLED
225#endif
226
227/**
228 * LIBXML_ISO8859X_ENABLED:
229 *
230 * Whether ISO-8859-* support is made available in case iconv is not
231 */
232#if @WITH_ISO8859X@
233#define LIBXML_ISO8859X_ENABLED
234#endif
235
236/**
237 * LIBXML_DEBUG_ENABLED:
238 *
239 * Whether Debugging module is configured in
240 */
241#if @WITH_DEBUG@
242#define LIBXML_DEBUG_ENABLED
243#endif
244
245/**
246 * LIBXML_UNICODE_ENABLED:
247 *
248 * Whether the Unicode related interfaces are compiled in
249 */
250#if @WITH_REGEXPS@
251#define LIBXML_UNICODE_ENABLED
252#endif
253
254/**
255 * LIBXML_REGEXP_ENABLED:
256 *
257 * Whether the regular expressions interfaces are compiled in
258 */
259#if @WITH_REGEXPS@
260#define LIBXML_REGEXP_ENABLED
261#endif
262
263/**
264 * LIBXML_AUTOMATA_ENABLED:
265 *
266 * Whether the automata interfaces are compiled in
267 */
268#if @WITH_REGEXPS@
269#define LIBXML_AUTOMATA_ENABLED
270#endif
271
272/**
273 * LIBXML_SCHEMAS_ENABLED:
274 *
275 * Whether the Schemas validation interfaces are compiled in
276 */
277#if @WITH_SCHEMAS@
278#define LIBXML_SCHEMAS_ENABLED
279#endif
280
281/**
282 * LIBXML_SCHEMATRON_ENABLED:
283 *
284 * Whether the Schematron validation interfaces are compiled in
285 */
286#if @WITH_SCHEMATRON@
287#define LIBXML_SCHEMATRON_ENABLED
288#endif
289
290/**
291 * LIBXML_MODULES_ENABLED:
292 *
293 * Whether the module interfaces are compiled in
294 */
295#if @WITH_MODULES@
296#define LIBXML_MODULES_ENABLED
297/**
298 * LIBXML_MODULE_EXTENSION:
299 *
300 * the string suffix used by dynamic modules (usually shared libraries)
301 */
302#define LIBXML_MODULE_EXTENSION "@MODULE_EXTENSION@"
303#endif
304
305/**
306 * LIBXML_ZLIB_ENABLED:
307 *
308 * Whether the Zlib support is compiled in
309 */
310#if @WITH_ZLIB@
311#define LIBXML_ZLIB_ENABLED
312#endif
313
314/**
315 * LIBXML_LZMA_ENABLED:
316 *
317 * Whether the Lzma support is compiled in
318 */
319#if @WITH_LZMA@
320#define LIBXML_LZMA_ENABLED
321#endif
322
323#include <libxml/xmlexports.h>
324
325#endif
326
327
328