xmlversion.h 3.9 KB

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