summaryrefslogtreecommitdiffstats
path: root/libxslt/libexslt/exslt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/libexslt/exslt.c')
-rw-r--r--libxslt/libexslt/exslt.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/libxslt/libexslt/exslt.c b/libxslt/libexslt/exslt.c
new file mode 100644
index 0000000..0bccf17
--- /dev/null
+++ b/libxslt/libexslt/exslt.c
@@ -0,0 +1,40 @@
+#define IN_LIBEXSLT
+#include "libexslt/libexslt.h"
+
+#include <libxml/xmlversion.h>
+
+#include "config.h"
+
+#include <libxslt/xsltconfig.h>
+#include <libxslt/extensions.h>
+
+#include <libexslt/exsltconfig.h>
+#include "exslt.h"
+
+const char *exsltLibraryVersion = LIBEXSLT_VERSION_STRING
+ LIBEXSLT_VERSION_EXTRA;
+const int exsltLibexsltVersion = LIBEXSLT_VERSION;
+const int exsltLibxsltVersion = LIBXSLT_VERSION;
+const int exsltLibxmlVersion = LIBXML_VERSION;
+
+/**
+ * exsltRegisterAll:
+ *
+ * Registers all available EXSLT extensions
+ */
+void
+exsltRegisterAll (void) {
+ xsltInitGlobals();
+ exsltCommonRegister();
+#ifdef EXSLT_CRYPTO_ENABLED
+ exsltCryptoRegister();
+#endif
+ exsltMathRegister();
+ exsltSetsRegister();
+ exsltFuncRegister();
+ exsltStrRegister();
+ exsltDateRegister();
+ exsltSaxonRegister();
+ exsltDynRegister();
+}
+