Eneboo - Documentación para desarrolladores
|
00001 /* 00002 * Summary: compile-time version informations 00003 * Description: compile-time version informations for the XML library 00004 * 00005 * Copy: See Copyright for the status of this software. 00006 * 00007 * Author: Daniel Veillard 00008 */ 00009 00010 #ifndef __XML_VERSION_H__ 00011 #define __XML_VERSION_H__ 00012 00013 #include <libxml/xmlexports.h> 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00019 /* 00020 * use those to be sure nothing nasty will happen if 00021 * your library and includes mismatch 00022 */ 00023 #ifndef LIBXML2_COMPILING_MSCCDEF 00024 XMLPUBFUN void XMLCALL xmlCheckVersion(int version); 00025 #endif /* LIBXML2_COMPILING_MSCCDEF */ 00026 00032 #define LIBXML_DOTTED_VERSION "2.7.7" 00033 00039 #define LIBXML_VERSION 20707 00040 00046 #define LIBXML_VERSION_STRING "20707" 00047 00053 #define LIBXML_VERSION_EXTRA "" 00054 00061 #define LIBXML_TEST_VERSION xmlCheckVersion(20707); 00062 00063 #ifndef VMS 00064 #if 0 00065 00070 #define WITH_TRIO 00071 #else 00072 00077 #define WITHOUT_TRIO 00078 #endif 00079 #else /* VMS */ 00080 00085 #define WITH_TRIO 1 00086 #endif /* VMS */ 00087 00093 #if 1 00094 #if defined(_REENTRANT) || defined(__MT__) || \ 00095 (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L)) 00096 #define LIBXML_THREAD_ENABLED 00097 #endif 00098 #endif 00099 00105 #if 1 00106 #define LIBXML_TREE_ENABLED 00107 #endif 00108 00114 #if 1 00115 #define LIBXML_OUTPUT_ENABLED 00116 #endif 00117 00123 #if 1 00124 #define LIBXML_PUSH_ENABLED 00125 #endif 00126 00132 #if 1 00133 #define LIBXML_READER_ENABLED 00134 #endif 00135 00141 #if 1 00142 #define LIBXML_PATTERN_ENABLED 00143 #endif 00144 00150 #if 1 00151 #define LIBXML_WRITER_ENABLED 00152 #endif 00153 00159 #if 1 00160 #define LIBXML_SAX1_ENABLED 00161 #endif 00162 00168 #if 1 00169 #define LIBXML_FTP_ENABLED 00170 #endif 00171 00177 #if 1 00178 #define LIBXML_HTTP_ENABLED 00179 #endif 00180 00186 #if 1 00187 #define LIBXML_VALID_ENABLED 00188 #endif 00189 00195 #if 1 00196 #define LIBXML_HTML_ENABLED 00197 #endif 00198 00204 #if 1 00205 #define LIBXML_LEGACY_ENABLED 00206 #endif 00207 00213 #if 1 00214 #define LIBXML_C14N_ENABLED 00215 #endif 00216 00222 #if 1 00223 #define LIBXML_CATALOG_ENABLED 00224 #endif 00225 00231 #if 1 00232 #define LIBXML_DOCB_ENABLED 00233 #endif 00234 00240 #if 1 00241 #define LIBXML_XPATH_ENABLED 00242 #endif 00243 00249 #if 1 00250 #define LIBXML_XPTR_ENABLED 00251 #endif 00252 00258 #if 1 00259 #define LIBXML_XINCLUDE_ENABLED 00260 #endif 00261 00267 #if !defined(_WIN32) 00268 #if 1 00269 #define LIBXML_ICONV_ENABLED 00270 #endif 00271 #endif 00272 00278 #if 1 00279 #define LIBXML_ISO8859X_ENABLED 00280 #endif 00281 00287 #if 1 00288 #define LIBXML_DEBUG_ENABLED 00289 #endif 00290 00296 #if 0 00297 #define DEBUG_MEMORY_LOCATION 00298 #endif 00299 00305 #if 0 00306 #define LIBXML_DEBUG_RUNTIME 00307 #endif 00308 00314 #if 1 00315 #define LIBXML_UNICODE_ENABLED 00316 #endif 00317 00323 #if 1 00324 #define LIBXML_REGEXP_ENABLED 00325 #endif 00326 00332 #if 1 00333 #define LIBXML_AUTOMATA_ENABLED 00334 #endif 00335 00341 #if 1 00342 #define LIBXML_EXPR_ENABLED 00343 #endif 00344 00350 #if 1 00351 #define LIBXML_SCHEMAS_ENABLED 00352 #endif 00353 00359 #if 1 00360 #define LIBXML_SCHEMATRON_ENABLED 00361 #endif 00362 00368 #if 1 00369 #define LIBXML_MODULES_ENABLED 00370 00375 #define LIBXML_MODULE_EXTENSION ".so" 00376 #endif 00377 00383 #if 1 00384 #define LIBXML_ZLIB_ENABLED 00385 #endif 00386 00387 #ifdef __GNUC__ 00388 #ifdef HAVE_ANSIDECL_H 00389 #include <ansidecl.h> 00390 #endif 00391 00398 #ifndef ATTRIBUTE_UNUSED 00399 #define ATTRIBUTE_UNUSED __attribute__((unused)) 00400 #endif 00401 00408 #ifndef LIBXML_ATTR_ALLOC_SIZE 00409 # if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))) 00410 # define LIBXML_ATTR_ALLOC_SIZE(x) __attribute__((alloc_size(x))) 00411 # else 00412 # define LIBXML_ATTR_ALLOC_SIZE(x) 00413 # endif 00414 #else 00415 # define LIBXML_ATTR_ALLOC_SIZE(x) 00416 #endif 00417 00424 #ifndef LIBXML_ATTR_FORMAT 00425 # if ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3))) 00426 # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args))) 00427 # else 00428 # define LIBXML_ATTR_FORMAT(fmt,args) 00429 # endif 00430 #else 00431 # define LIBXML_ATTR_FORMAT(fmt,args) 00432 #endif 00433 00434 #else /* ! __GNUC__ */ 00435 00440 #define ATTRIBUTE_UNUSED 00441 00446 #define LIBXML_ATTR_ALLOC_SIZE(x) 00447 00452 #define LIBXML_ATTR_FORMAT(fmt,args) 00453 #endif /* __GNUC__ */ 00454 00455 #ifdef __cplusplus 00456 } 00457 #endif /* __cplusplus */ 00458 #endif 00459 00460