1
2#ifndef __EXSLT_H__
3#define __EXSLT_H__
4
5#include <libxml/tree.h>
6#include <libxml/xpath.h>
7#include "exsltexports.h"
8#include <libexslt/exsltconfig.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14EXSLTPUBVAR const char *exsltLibraryVersion;
15EXSLTPUBVAR const int exsltLibexsltVersion;
16EXSLTPUBVAR const int exsltLibxsltVersion;
17EXSLTPUBVAR const int exsltLibxmlVersion;
18
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/**
69 * SAXON_NAMESPACE:
70 *
71 * Namespace for SAXON extensions functions
72 */
73#define SAXON_NAMESPACE ((const xmlChar *) "http://icl.com/saxon")
74
75EXSLTPUBFUN void EXSLTCALL exsltCommonRegister (void);
76#ifdef EXSLT_CRYPTO_ENABLED
77EXSLTPUBFUN void EXSLTCALL exsltCryptoRegister (void);
78#endif
79EXSLTPUBFUN void EXSLTCALL exsltMathRegister (void);
80EXSLTPUBFUN void EXSLTCALL exsltSetsRegister (void);
81EXSLTPUBFUN void EXSLTCALL exsltFuncRegister (void);
82EXSLTPUBFUN void EXSLTCALL exsltStrRegister (void);
83EXSLTPUBFUN void EXSLTCALL exsltDateRegister (void);
84EXSLTPUBFUN void EXSLTCALL exsltSaxonRegister (void);
85EXSLTPUBFUN void EXSLTCALL exsltDynRegister(void);
86
87EXSLTPUBFUN void EXSLTCALL exsltRegisterAll (void);
88
89EXSLTPUBFUN int EXSLTCALL exsltDateXpathCtxtRegister (xmlXPathContextPtr ctxt,
90 const xmlChar *prefix);
91EXSLTPUBFUN int EXSLTCALL exsltMathXpathCtxtRegister (xmlXPathContextPtr ctxt,
92 const xmlChar *prefix);
93EXSLTPUBFUN int EXSLTCALL exsltSetsXpathCtxtRegister (xmlXPathContextPtr ctxt,
94 const xmlChar *prefix);
95EXSLTPUBFUN int EXSLTCALL exsltStrXpathCtxtRegister (xmlXPathContextPtr ctxt,
96 const xmlChar *prefix);
97
98#ifdef __cplusplus
99}
100#endif
101#endif /* __EXSLT_H__ */
102
103

source code of include/libexslt/exslt.h