This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
28 changed files
with
4,558 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,102 @@ | ||
|
||
#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,73 @@ | ||
/* | ||
* exsltconfig.h: compile-time version informations for the EXSLT library | ||
* | ||
* See Copyright for the status of this software. | ||
* | ||
* [email protected] | ||
*/ | ||
|
||
#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 "1.1.32" | ||
|
||
/** | ||
* LIBEXSLT_VERSION: | ||
* | ||
* the version number: 1.2.3 value is 10203 | ||
*/ | ||
#define LIBEXSLT_VERSION 820 | ||
|
||
/** | ||
* LIBEXSLT_VERSION_STRING: | ||
* | ||
* the version number string, 1.2.3 value is "10203" | ||
*/ | ||
#define LIBEXSLT_VERSION_STRING "820" | ||
|
||
/** | ||
* LIBEXSLT_VERSION_EXTRA: | ||
* | ||
* extra version information, used to show a CVS compilation | ||
*/ | ||
#define LIBEXSLT_VERSION_EXTRA "" | ||
|
||
/** | ||
* WITH_CRYPTO: | ||
* | ||
* Whether crypto support is configured into exslt | ||
*/ | ||
#if 1 | ||
#define EXSLT_CRYPTO_ENABLED | ||
#endif | ||
|
||
/** | ||
* ATTRIBUTE_UNUSED: | ||
* | ||
* This macro is used to flag unused function parameters to GCC | ||
*/ | ||
#ifdef __GNUC__ | ||
#ifdef HAVE_ANSIDECL_H | ||
#include <ansidecl.h> | ||
#endif | ||
#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,140 @@ | ||
/* | ||
* exsltexports.h : macros for marking symbols as exportable/importable. | ||
* | ||
* See Copyright for the status of this software. | ||
* | ||
* [email protected] | ||
*/ | ||
|
||
#ifndef __EXSLT_EXPORTS_H__ | ||
#define __EXSLT_EXPORTS_H__ | ||
|
||
/** | ||
* EXSLTPUBFUN, EXSLTPUBVAR, EXSLTCALL | ||
* | ||
* Macros which declare an exportable function, an exportable variable and | ||
* the calling convention used for functions. | ||
* | ||
* Please use an extra block for every platform/compiler combination when | ||
* modifying this, rather than overlong #ifdef lines. This helps | ||
* readability as well as the fact that different compilers on the same | ||
* platform might need different definitions. | ||
*/ | ||
|
||
/** | ||
* EXSLTPUBFUN: | ||
* | ||
* Macros which declare an exportable function | ||
*/ | ||
#define EXSLTPUBFUN | ||
/** | ||
* EXSLTPUBVAR: | ||
* | ||
* Macros which declare an exportable variable | ||
*/ | ||
#define EXSLTPUBVAR extern | ||
/** | ||
* EXSLTCALL: | ||
* | ||
* Macros which declare the called convention for exported functions | ||
*/ | ||
#define EXSLTCALL | ||
|
||
/** DOC_DISABLE */ | ||
|
||
/* Windows platform with MS compiler */ | ||
#if defined(_WIN32) && defined(_MSC_VER) | ||
#undef EXSLTPUBFUN | ||
#undef EXSLTPUBVAR | ||
#undef EXSLTCALL | ||
#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC) | ||
#define EXSLTPUBFUN __declspec(dllexport) | ||
#define EXSLTPUBVAR __declspec(dllexport) | ||
#else | ||
#define EXSLTPUBFUN | ||
#if !defined(LIBEXSLT_STATIC) | ||
#define EXSLTPUBVAR __declspec(dllimport) extern | ||
#else | ||
#define EXSLTPUBVAR extern | ||
#endif | ||
#endif | ||
#define EXSLTCALL __cdecl | ||
#if !defined _REENTRANT | ||
#define _REENTRANT | ||
#endif | ||
#endif | ||
|
||
/* Windows platform with Borland compiler */ | ||
#if defined(_WIN32) && defined(__BORLANDC__) | ||
#undef EXSLTPUBFUN | ||
#undef EXSLTPUBVAR | ||
#undef EXSLTCALL | ||
#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC) | ||
#define EXSLTPUBFUN __declspec(dllexport) | ||
#define EXSLTPUBVAR __declspec(dllexport) extern | ||
#else | ||
#define EXSLTPUBFUN | ||
#if !defined(LIBEXSLT_STATIC) | ||
#define EXSLTPUBVAR __declspec(dllimport) extern | ||
#else | ||
#define EXSLTPUBVAR extern | ||
#endif | ||
#endif | ||
#define EXSLTCALL __cdecl | ||
#if !defined _REENTRANT | ||
#define _REENTRANT | ||
#endif | ||
#endif | ||
|
||
/* Windows platform with GNU compiler (Mingw) */ | ||
#if defined(_WIN32) && defined(__MINGW32__) | ||
#undef EXSLTPUBFUN | ||
#undef EXSLTPUBVAR | ||
#undef EXSLTCALL | ||
/* | ||
#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC) | ||
*/ | ||
#if !defined(LIBEXSLT_STATIC) | ||
#define EXSLTPUBFUN __declspec(dllexport) | ||
#define EXSLTPUBVAR __declspec(dllexport) extern | ||
#else | ||
#define EXSLTPUBFUN | ||
#if !defined(LIBEXSLT_STATIC) | ||
#define EXSLTPUBVAR __declspec(dllimport) extern | ||
#else | ||
#define EXSLTPUBVAR extern | ||
#endif | ||
#endif | ||
#define EXSLTCALL __cdecl | ||
#if !defined _REENTRANT | ||
#define _REENTRANT | ||
#endif | ||
#endif | ||
|
||
/* Cygwin platform, GNU compiler */ | ||
#if defined(_WIN32) && defined(__CYGWIN__) | ||
#undef EXSLTPUBFUN | ||
#undef EXSLTPUBVAR | ||
#undef EXSLTCALL | ||
#if defined(IN_LIBEXSLT) && !defined(LIBEXSLT_STATIC) | ||
#define EXSLTPUBFUN __declspec(dllexport) | ||
#define EXSLTPUBVAR __declspec(dllexport) | ||
#else | ||
#define EXSLTPUBFUN | ||
#if !defined(LIBEXSLT_STATIC) | ||
#define EXSLTPUBVAR __declspec(dllimport) extern | ||
#else | ||
#define EXSLTPUBVAR | ||
#endif | ||
#endif | ||
#define EXSLTCALL __cdecl | ||
#endif | ||
|
||
/* Compatibility */ | ||
#if !defined(LIBEXSLT_PUBLIC) | ||
#define LIBEXSLT_PUBLIC EXSLTPUBVAR | ||
#endif | ||
|
||
#endif /* __EXSLT_EXPORTS_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,38 @@ | ||
/* | ||
* Summary: interface for the XSLT attribute handling | ||
* Description: this module handles the specificities of attribute | ||
* and attribute groups processing. | ||
* | ||
* Copy: See Copyright for the status of this software. | ||
* | ||
* Author: Daniel Veillard | ||
*/ | ||
|
||
#ifndef __XML_XSLT_ATTRIBUTES_H__ | ||
#define __XML_XSLT_ATTRIBUTES_H__ | ||
|
||
#include <libxml/tree.h> | ||
#include "xsltexports.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
XSLTPUBFUN void XSLTCALL | ||
xsltParseStylesheetAttributeSet (xsltStylesheetPtr style, | ||
xmlNodePtr cur); | ||
XSLTPUBFUN void XSLTCALL | ||
xsltFreeAttributeSetsHashes (xsltStylesheetPtr style); | ||
XSLTPUBFUN void XSLTCALL | ||
xsltApplyAttributeSet (xsltTransformContextPtr ctxt, | ||
xmlNodePtr node, | ||
xmlNodePtr inst, | ||
const xmlChar *attributes); | ||
XSLTPUBFUN void XSLTCALL | ||
xsltResolveStylesheetAttributeSet(xsltStylesheetPtr style); | ||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* __XML_XSLT_ATTRIBUTES_H__ */ | ||
|
Oops, something went wrong.