exslt.h 3.0 KB

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