xmlversion.inc 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. (*
  2. * Summary: compile-time version informations
  3. * Description: compile-time version informations for the XML library
  4. *
  5. * Copy: See Copyright for the status of this software.
  6. *
  7. * Author: Daniel Veillard
  8. *)
  9. (*
  10. * use those to be sure nothing nasty will happen if
  11. * your library and includes mismatch
  12. *)
  13. procedure xmlCheckVersion(version: cint); EXTDECL; external xml2lib;
  14. (**
  15. * LIBXML_DOTTED_VERSION:
  16. *
  17. * the version string like "1.2.3"
  18. *)
  19. const
  20. LIBXML_DOTTED_VERSION = '2.6.32';
  21. (**
  22. * LIBXML_VERSION:
  23. *
  24. * the version number: 1.2.3 value is 10203
  25. *)
  26. LIBXML_VERSION = 20632;
  27. (**
  28. * LIBXML_VERSION_STRING:
  29. *
  30. * the version number string, 1.2.3 value is "10203"
  31. *)
  32. LIBXML_VERSION_STRING = '20632';
  33. (**
  34. * LIBXML_VERSION_EXTRA:
  35. *
  36. * extra version information, used to show a CVS compilation
  37. *)
  38. LIBXML_VERSION_EXTRA = '-CVS2831';
  39. (**
  40. * LIBXML_TEST_VERSION:
  41. *
  42. * Macro to check that the libxml version in use is compatible with
  43. * the version the software has been compiled against
  44. *)
  45. procedure LIBXML_TEST_VERSION;
  46. (**
  47. * LIBXML_THREAD_ENABLED:
  48. *
  49. * Whether the thread support is configured in
  50. *)
  51. {#if 1
  52. #if defined(_REENTRANT) || defined(__MT__) || \
  53. (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L))
  54. #define LIBXML_THREAD_ENABLED
  55. #endif
  56. #endif}
  57. (**
  58. * LIBXML_TREE_ENABLED:
  59. *
  60. * Whether the DOM like tree manipulation API support is configured in
  61. *)
  62. {$DEFINE LIBXML_TREE_ENABLED}
  63. (**
  64. * LIBXML_OUTPUT_ENABLED:
  65. *
  66. * Whether the serialization/saving support is configured in
  67. *)
  68. {$DEFINE LIBXML_OUTPUT_ENABLED}
  69. (**
  70. * LIBXML_PUSH_ENABLED:
  71. *
  72. * Whether the push parsing interfaces are configured in
  73. *)
  74. {$DEFINE LIBXML_PUSH_ENABLED}
  75. (**
  76. * LIBXML_READER_ENABLED:
  77. *
  78. * Whether the xmlReader parsing interface is configured in
  79. *)
  80. {$DEFINE LIBXML_READER_ENABLED}
  81. (**
  82. * LIBXML_PATTERN_ENABLED:
  83. *
  84. * Whether the xmlPattern node selection interface is configured in
  85. *)
  86. {$DEFINE LIBXML_PATTERN_ENABLED}
  87. (**
  88. * LIBXML_WRITER_ENABLED:
  89. *
  90. * Whether the xmlWriter saving interface is configured in
  91. *)
  92. {$DEFINE LIBXML_WRITER_ENABLED}
  93. (**
  94. * LIBXML_SAX1_ENABLED:
  95. *
  96. * Whether the older SAX1 interface is configured in
  97. *)
  98. {$DEFINE LIBXML_SAX1_ENABLED}
  99. (**
  100. * LIBXML_FTP_ENABLED:
  101. *
  102. * Whether the FTP support is configured in
  103. *)
  104. {$DEFINE LIBXML_FTP_ENABLED}
  105. (**
  106. * LIBXML_HTTP_ENABLED:
  107. *
  108. * Whether the HTTP support is configured in
  109. *)
  110. {$DEFINE LIBXML_HTTP_ENABLED}
  111. (**
  112. * LIBXML_VALID_ENABLED:
  113. *
  114. * Whether the DTD validation support is configured in
  115. *)
  116. {$DEFINE LIBXML_VALID_ENABLED}
  117. (**
  118. * LIBXML_HTML_ENABLED:
  119. *
  120. * Whether the HTML support is configured in
  121. *)
  122. {$DEFINE LIBXML_HTML_ENABLED}
  123. (**
  124. * LIBXML_LEGACY_ENABLED:
  125. *
  126. * Whether the deprecated APIs are compiled in for compatibility
  127. *)
  128. {.$DEFINE LIBXML_LEGACY_ENABLED}
  129. {$WARNING 'libxml legacy mode disabled!'}
  130. (**
  131. * LIBXML_C14N_ENABLED:
  132. *
  133. * Whether the Canonicalization support is configured in
  134. *)
  135. {$DEFINE LIBXML_C14N_ENABLED}
  136. (**
  137. * LIBXML_CATALOG_ENABLED:
  138. *
  139. * Whether the Catalog support is configured in
  140. *)
  141. {$DEFINE LIBXML_CATALOG_ENABLED}
  142. (**
  143. * LIBXML_DOCB_ENABLED:
  144. *
  145. * Whether the SGML Docbook support is configured in
  146. *)
  147. {$DEFINE LIBXML_DOCB_ENABLED}
  148. (**
  149. * LIBXML_XPATH_ENABLED:
  150. *
  151. * Whether XPath is configured in
  152. *)
  153. {$DEFINE LIBXML_XPATH_ENABLED}
  154. (**
  155. * LIBXML_XPTR_ENABLED:
  156. *
  157. * Whether XPointer is configured in
  158. *)
  159. {$DEFINE LIBXML_XPTR_ENABLED}
  160. (**
  161. * LIBXML_XINCLUDE_ENABLED:
  162. *
  163. * Whether XInclude is configured in
  164. *)
  165. {$DEFINE LIBXML_XINCLUDE_ENABLED}
  166. (**
  167. * LIBXML_ICONV_ENABLED:
  168. *
  169. * Whether iconv support is available
  170. *)
  171. {$DEFINE LIBXML_ICONV_ENABLED}
  172. (**
  173. * LIBXML_ISO8859X_ENABLED:
  174. *
  175. * Whether ISO-8859-* support is made available in case iconv is not
  176. *)
  177. {$DEFINE LIBXML_ISO8859X_ENABLED}
  178. (**
  179. * LIBXML_DEBUG_ENABLED:
  180. *
  181. * Whether Debugging module is configured in
  182. *)
  183. {$DEFINE LIBXML_DEBUG_ENABLED}
  184. (**
  185. * DEBUG_MEMORY_LOCATION:
  186. *
  187. * Whether the memory debugging is configured in
  188. *)
  189. {$DEFINE DEBUG_MEMORY_LOCATION}
  190. (**
  191. * LIBXML_DEBUG_RUNTIME:
  192. *
  193. * Whether the runtime debugging is configured in
  194. *)
  195. {$DEFINE LIBXML_DEBUG_RUNTIME}
  196. (**
  197. * LIBXML_UNICODE_ENABLED:
  198. *
  199. * Whether the Unicode related interfaces are compiled in
  200. *)
  201. {$DEFINE LIBXML_UNICODE_ENABLED}
  202. (**
  203. * LIBXML_REGEXP_ENABLED:
  204. *
  205. * Whether the regular expressions interfaces are compiled in
  206. *)
  207. {$DEFINE LIBXML_REGEXP_ENABLED}
  208. (**
  209. * LIBXML_AUTOMATA_ENABLED:
  210. *
  211. * Whether the automata interfaces are compiled in
  212. *)
  213. {$DEFINE LIBXML_AUTOMATA_ENABLED}
  214. (**
  215. * LIBXML_EXPR_ENABLED:
  216. *
  217. * Whether the formal expressions interfaces are compiled in
  218. *)
  219. {$DEFINE LIBXML_EXPR_ENABLED}
  220. (**
  221. * LIBXML_SCHEMAS_ENABLED:
  222. *
  223. * Whether the Schemas validation interfaces are compiled in
  224. *)
  225. {$DEFINE LIBXML_SCHEMAS_ENABLED}
  226. (**
  227. * LIBXML_SCHEMATRON_ENABLED:
  228. *
  229. * Whether the Schematron validation interfaces are compiled in
  230. *)
  231. {$DEFINE LIBXML_SCHEMATRON_ENABLED}
  232. (**
  233. * LIBXML_MODULES_ENABLED:
  234. *
  235. * Whether the module interfaces are compiled in
  236. *)
  237. {$DEFINE LIBXML_MODULES_ENABLED}
  238. (**
  239. * LIBXML_MODULE_EXTENSION:
  240. *
  241. * the string suffix used by dynamic modules (usually shared libraries)
  242. *)
  243. const
  244. LIBXML_MODULE_EXTENSION = '.so';
  245. (**
  246. * LIBXML_ZLIB_ENABLED:
  247. *
  248. * Whether the Zlib support is compiled in
  249. *)
  250. {$DEFINE LIBXML_ZLIB_ENABLED}