-
-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff2c996
commit c5beeb2
Showing
71 changed files
with
18,864 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
/* | ||
* Summary: main header file | ||
* | ||
* Copy: See Copyright for the status of this software. | ||
*/ | ||
|
||
|
||
#ifndef __EXSLT_H__ | ||
#define __EXSLT_H__ | ||
|
||
#include <libxml/tree.h> | ||
#include <libxml/xpath.h> | ||
#include "exsltexports.h" | ||
#include <libexslt/exsltconfig.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
EXSLTPUBVAR const char *exsltLibraryVersion; | ||
EXSLTPUBVAR const int exsltLibexsltVersion; | ||
EXSLTPUBVAR const int exsltLibxsltVersion; | ||
EXSLTPUBVAR const int exsltLibxmlVersion; | ||
|
||
/** | ||
* EXSLT_COMMON_NAMESPACE: | ||
* | ||
* Namespace for EXSLT common functions | ||
*/ | ||
#define EXSLT_COMMON_NAMESPACE ((const xmlChar *) "http://exslt.org/common") | ||
/** | ||
* EXSLT_CRYPTO_NAMESPACE: | ||
* | ||
* Namespace for EXSLT crypto functions | ||
*/ | ||
#define EXSLT_CRYPTO_NAMESPACE ((const xmlChar *) "http://exslt.org/crypto") | ||
/** | ||
* EXSLT_MATH_NAMESPACE: | ||
* | ||
* Namespace for EXSLT math functions | ||
*/ | ||
#define EXSLT_MATH_NAMESPACE ((const xmlChar *) "http://exslt.org/math") | ||
/** | ||
* EXSLT_SETS_NAMESPACE: | ||
* | ||
* Namespace for EXSLT set functions | ||
*/ | ||
#define EXSLT_SETS_NAMESPACE ((const xmlChar *) "http://exslt.org/sets") | ||
/** | ||
* EXSLT_FUNCTIONS_NAMESPACE: | ||
* | ||
* Namespace for EXSLT functions extension functions | ||
*/ | ||
#define EXSLT_FUNCTIONS_NAMESPACE ((const xmlChar *) "http://exslt.org/functions") | ||
/** | ||
* EXSLT_STRINGS_NAMESPACE: | ||
* | ||
* Namespace for EXSLT strings functions | ||
*/ | ||
#define EXSLT_STRINGS_NAMESPACE ((const xmlChar *) "http://exslt.org/strings") | ||
/** | ||
* EXSLT_DATE_NAMESPACE: | ||
* | ||
* Namespace for EXSLT date functions | ||
*/ | ||
#define EXSLT_DATE_NAMESPACE ((const xmlChar *) "http://exslt.org/dates-and-times") | ||
/** | ||
* EXSLT_DYNAMIC_NAMESPACE: | ||
* | ||
* Namespace for EXSLT dynamic functions | ||
*/ | ||
#define EXSLT_DYNAMIC_NAMESPACE ((const xmlChar *) "http://exslt.org/dynamic") | ||
|
||
/** | ||
* SAXON_NAMESPACE: | ||
* | ||
* Namespace for SAXON extensions functions | ||
*/ | ||
#define SAXON_NAMESPACE ((const xmlChar *) "http://icl.com/saxon") | ||
|
||
EXSLTPUBFUN void EXSLTCALL exsltCommonRegister (void); | ||
#ifdef EXSLT_CRYPTO_ENABLED | ||
EXSLTPUBFUN void EXSLTCALL exsltCryptoRegister (void); | ||
#endif | ||
EXSLTPUBFUN void EXSLTCALL exsltMathRegister (void); | ||
EXSLTPUBFUN void EXSLTCALL exsltSetsRegister (void); | ||
EXSLTPUBFUN void EXSLTCALL exsltFuncRegister (void); | ||
EXSLTPUBFUN void EXSLTCALL exsltStrRegister (void); | ||
EXSLTPUBFUN void EXSLTCALL exsltDateRegister (void); | ||
EXSLTPUBFUN void EXSLTCALL exsltSaxonRegister (void); | ||
EXSLTPUBFUN void EXSLTCALL exsltDynRegister(void); | ||
|
||
EXSLTPUBFUN void EXSLTCALL exsltRegisterAll (void); | ||
|
||
EXSLTPUBFUN int EXSLTCALL exsltDateXpathCtxtRegister (xmlXPathContextPtr ctxt, | ||
const xmlChar *prefix); | ||
EXSLTPUBFUN int EXSLTCALL exsltMathXpathCtxtRegister (xmlXPathContextPtr ctxt, | ||
const xmlChar *prefix); | ||
EXSLTPUBFUN int EXSLTCALL exsltSetsXpathCtxtRegister (xmlXPathContextPtr ctxt, | ||
const xmlChar *prefix); | ||
EXSLTPUBFUN int EXSLTCALL exsltStrXpathCtxtRegister (xmlXPathContextPtr ctxt, | ||
const xmlChar *prefix); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
#endif /* __EXSLT_H__ */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* | ||
* exsltconfig.h: compile-time version information for the EXSLT library | ||
* | ||
* See Copyright for the status of this software. | ||
* | ||
* daniel@veillard.com | ||
*/ | ||
|
||
#ifndef __XML_EXSLTCONFIG_H__ | ||
#define __XML_EXSLTCONFIG_H__ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/** | ||
* LIBEXSLT_DOTTED_VERSION: | ||
* | ||
* the version string like "1.2.3" | ||
*/ | ||
#define LIBEXSLT_DOTTED_VERSION "0.8.21" | ||
|
||
/** | ||
* LIBEXSLT_VERSION: | ||
* | ||
* the version number: 1.2.3 value is 10203 | ||
*/ | ||
#define LIBEXSLT_VERSION 821 | ||
|
||
/** | ||
* LIBEXSLT_VERSION_STRING: | ||
* | ||
* the version number string, 1.2.3 value is "10203" | ||
*/ | ||
#define LIBEXSLT_VERSION_STRING "821" | ||
|
||
/** | ||
* LIBEXSLT_VERSION_EXTRA: | ||
* | ||
* extra version information, used to show a Git commit description | ||
*/ | ||
#define LIBEXSLT_VERSION_EXTRA "" | ||
|
||
/** | ||
* WITH_CRYPTO: | ||
* | ||
* Whether crypto support is configured into exslt | ||
*/ | ||
#if 0 | ||
#define EXSLT_CRYPTO_ENABLED | ||
#endif | ||
|
||
/** | ||
* ATTRIBUTE_UNUSED: | ||
* | ||
* This macro is used to flag unused function parameters to GCC | ||
*/ | ||
#ifdef __GNUC__ | ||
#ifndef ATTRIBUTE_UNUSED | ||
#define ATTRIBUTE_UNUSED __attribute__((unused)) | ||
#endif | ||
#else | ||
#define ATTRIBUTE_UNUSED | ||
#endif | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* __XML_EXSLTCONFIG_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/* | ||
* Summary: macros for marking symbols as exportable/importable. | ||
* | ||
* Copy: See Copyright for the status of this software. | ||
*/ | ||
|
||
#ifndef __EXSLT_EXPORTS_H__ | ||
#define __EXSLT_EXPORTS_H__ | ||
|
||
#if defined(_WIN32) || defined(__CYGWIN__) | ||
/** DOC_DISABLE */ | ||
|
||
#ifdef LIBEXSLT_STATIC | ||
#define EXSLTPUBLIC | ||
#elif defined(IN_LIBEXSLT) | ||
#define EXSLTPUBLIC __declspec(dllexport) | ||
#else | ||
#define EXSLTPUBLIC __declspec(dllimport) | ||
#endif | ||
|
||
#define EXSLTCALL __cdecl | ||
|
||
/** DOC_ENABLE */ | ||
#else /* not Windows */ | ||
|
||
/** | ||
* EXSLTPUBLIC: | ||
* | ||
* Macro which declares a public symbol | ||
*/ | ||
#define EXSLTPUBLIC | ||
|
||
/** | ||
* EXSLTCALL: | ||
* | ||
* Macro which declares the calling convention for exported functions | ||
*/ | ||
#define EXSLTCALL | ||
|
||
#endif /* platform switch */ | ||
|
||
/* | ||
* EXSLTPUBFUN: | ||
* | ||
* Macro which declares an exportable function | ||
*/ | ||
#define EXSLTPUBFUN EXSLTPUBLIC | ||
|
||
/** | ||
* EXSLTPUBVAR: | ||
* | ||
* Macro which declares an exportable variable | ||
*/ | ||
#define EXSLTPUBVAR EXSLTPUBLIC extern | ||
|
||
/* Compatibility */ | ||
#if !defined(LIBEXSLT_PUBLIC) | ||
#define LIBEXSLT_PUBLIC EXSLTPUBVAR | ||
#endif | ||
|
||
#endif /* __EXSLT_EXPORTS_H__ */ | ||
|
||
|
Oops, something went wrong.