You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
2.9 KiB

4 years ago
  1. #ifndef __EXSLT_H__
  2. #define __EXSLT_H__
  3. #include <libxml/tree.h>
  4. #include <libxml/xpath.h>
  5. #include "exsltexports.h"
  6. #include <libexslt/exsltconfig.h>
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. EXSLTPUBVAR const char *exsltLibraryVersion;
  11. EXSLTPUBVAR const int exsltLibexsltVersion;
  12. EXSLTPUBVAR const int exsltLibxsltVersion;
  13. EXSLTPUBVAR const int exsltLibxmlVersion;
  14. /**
  15. * EXSLT_COMMON_NAMESPACE:
  16. *
  17. * Namespace for EXSLT common functions
  18. */
  19. #define EXSLT_COMMON_NAMESPACE ((const xmlChar *) "http://exslt.org/common")
  20. /**
  21. * EXSLT_CRYPTO_NAMESPACE:
  22. *
  23. * Namespace for EXSLT crypto functions
  24. */
  25. #define EXSLT_CRYPTO_NAMESPACE ((const xmlChar *) "http://exslt.org/crypto")
  26. /**
  27. * EXSLT_MATH_NAMESPACE:
  28. *
  29. * Namespace for EXSLT math functions
  30. */
  31. #define EXSLT_MATH_NAMESPACE ((const xmlChar *) "http://exslt.org/math")
  32. /**
  33. * EXSLT_SETS_NAMESPACE:
  34. *
  35. * Namespace for EXSLT set functions
  36. */
  37. #define EXSLT_SETS_NAMESPACE ((const xmlChar *) "http://exslt.org/sets")
  38. /**
  39. * EXSLT_FUNCTIONS_NAMESPACE:
  40. *
  41. * Namespace for EXSLT functions extension functions
  42. */
  43. #define EXSLT_FUNCTIONS_NAMESPACE ((const xmlChar *) "http://exslt.org/functions")
  44. /**
  45. * EXSLT_STRINGS_NAMESPACE:
  46. *
  47. * Namespace for EXSLT strings functions
  48. */
  49. #define EXSLT_STRINGS_NAMESPACE ((const xmlChar *) "http://exslt.org/strings")
  50. /**
  51. * EXSLT_DATE_NAMESPACE:
  52. *
  53. * Namespace for EXSLT date functions
  54. */
  55. #define EXSLT_DATE_NAMESPACE ((const xmlChar *) "http://exslt.org/dates-and-times")
  56. /**
  57. * EXSLT_DYNAMIC_NAMESPACE:
  58. *
  59. * Namespace for EXSLT dynamic functions
  60. */
  61. #define EXSLT_DYNAMIC_NAMESPACE ((const xmlChar *) "http://exslt.org/dynamic")
  62. /**
  63. * SAXON_NAMESPACE:
  64. *
  65. * Namespace for SAXON extensions functions
  66. */
  67. #define SAXON_NAMESPACE ((const xmlChar *) "http://icl.com/saxon")
  68. EXSLTPUBFUN void EXSLTCALL exsltCommonRegister (void);
  69. #ifdef EXSLT_CRYPTO_ENABLED
  70. EXSLTPUBFUN void EXSLTCALL exsltCryptoRegister (void);
  71. #endif
  72. EXSLTPUBFUN void EXSLTCALL exsltMathRegister (void);
  73. EXSLTPUBFUN void EXSLTCALL exsltSetsRegister (void);
  74. EXSLTPUBFUN void EXSLTCALL exsltFuncRegister (void);
  75. EXSLTPUBFUN void EXSLTCALL exsltStrRegister (void);
  76. EXSLTPUBFUN void EXSLTCALL exsltDateRegister (void);
  77. EXSLTPUBFUN void EXSLTCALL exsltSaxonRegister (void);
  78. EXSLTPUBFUN void EXSLTCALL exsltDynRegister(void);
  79. EXSLTPUBFUN void EXSLTCALL exsltRegisterAll (void);
  80. EXSLTPUBFUN int EXSLTCALL exsltDateXpathCtxtRegister (xmlXPathContextPtr ctxt,
  81. const xmlChar *prefix);
  82. EXSLTPUBFUN int EXSLTCALL exsltMathXpathCtxtRegister (xmlXPathContextPtr ctxt,
  83. const xmlChar *prefix);
  84. EXSLTPUBFUN int EXSLTCALL exsltSetsXpathCtxtRegister (xmlXPathContextPtr ctxt,
  85. const xmlChar *prefix);
  86. EXSLTPUBFUN int EXSLTCALL exsltStrXpathCtxtRegister (xmlXPathContextPtr ctxt,
  87. const xmlChar *prefix);
  88. #ifdef __cplusplus
  89. }
  90. #endif
  91. #endif /* __EXSLT_H__ */