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