diff options
author | Igor Zlatkovic <igor@src.gnome.org> | 2003-05-17 11:28:10 +0000 |
---|---|---|
committer | Igor Zlatkovic <igor@src.gnome.org> | 2003-05-17 11:28:10 +0000 |
commit | d5f5c5e298c4c5f1c6283dfe76f8270e9976aa30 (patch) | |
tree | 3bfed534062d328bd85bed4ca34bcd86ff66f70a /win32 | |
parent | b487aba88925091fb0a68191a3f2a3e8affaa859 (diff) | |
download | libxslt-d5f5c5e298c4c5f1c6283dfe76f8270e9976aa30.tar.gz libxslt-d5f5c5e298c4c5f1c6283dfe76f8270e9976aa30.tar.bz2 libxslt-d5f5c5e298c4c5f1c6283dfe76f8270e9976aa30.zip |
*** empty log message ***
Diffstat (limited to 'win32')
-rw-r--r-- | win32/defgen.xsl | 44 | ||||
-rw-r--r-- | win32/libexslt.def.src | 51 | ||||
-rw-r--r-- | win32/libxslt.def.src | 553 |
3 files changed, 268 insertions, 380 deletions
diff --git a/win32/defgen.xsl b/win32/defgen.xsl new file mode 100644 index 00000000..6a295374 --- /dev/null +++ b/win32/defgen.xsl @@ -0,0 +1,44 @@ +<?xml version="1.0"?> +<!-- + win32/defgen.xsl + This stylesheet is used to transform doc/lib[e]xslt-api.xml into a pseudo-source, + which can then be preprocessed to get the .DEF file for the Microsoft's linker. + + Use any XSLT processor to produce a file called lib[e]xslt.def.src in the win32 + subdirectory, for example, run xsltproc from the win32 subdirectory: + + xsltproc -o libxslt.def.src defgen.xsl ../doc/libxslt-api.xml + xsltproc -o libexslt.def.src defgen.xsl ../doc/libexslt-api.xml + + Once that finishes, rest assured, the Makefile will know what to do with the + generated file. + + May 2003, Igor Zlatkovic <igor@zlatkovic.com> +--> +<!DOCTYPE xsl:stylesheet [ <!ENTITY nl '
'> ]> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:strip-space elements="*"/> + <xsl:output method="text"/> + <xsl:template match="/"> + <xsl:text>LIBRARY </xsl:text> + <xsl:value-of select="/api/@name"/> + <xsl:text>&nl;</xsl:text> + <xsl:text>EXPORTS&nl;</xsl:text> + <xsl:for-each select="/api/symbols/*[self::variable or self::function]"> + <xsl:if test="@name='xsltExtFunctionLookup' or + @name='xsltMatchPattern'"> + <xsl:text>/*</xsl:text> + </xsl:if> + <xsl:value-of select="@name"/> + <xsl:if test="self::variable"> + <xsl:text> DATA</xsl:text> + </xsl:if> + <xsl:if test="@name='xsltExtFunctionLookup' or + @name='xsltMatchPattern'"> + <xsl:text>*/</xsl:text> + </xsl:if> + <xsl:text>&nl;</xsl:text> + </xsl:for-each> + </xsl:template> +</xsl:stylesheet> + diff --git a/win32/libexslt.def.src b/win32/libexslt.def.src index d5238276..a537ac08 100644 --- a/win32/libexslt.def.src +++ b/win32/libexslt.def.src @@ -1,36 +1,15 @@ -/* win32/libxeslt.def.src - Pseudo-source used to create a .DEF file for proper dynamic linkage. - - Assuming you use Microsoft's C compiler, you run a - - cl /EP libexslt.def.src > libexslt.def - - in order to get the right .DEF file. Basically, all you do is - preprocess this file using a C/C++ preprocessor and the right - .DEF file should come out. - - Should you need a function which does not seem to be exported - from the libexslt.dll, its name is most certainly missing here. - Add the name of the offending function to this file and rebuild. - - 21.03.2002, Igor Zlatkovic (igor@zlatkovic.com) -*/ - -LIBRARY libexslt -EXPORTS - -/* exslt.h - --------------------------------------------------------------------- */ - exsltLibraryVersion DATA - exsltLibexsltVersion DATA - exsltLibxsltVersion DATA - exsltLibxmlVersion DATA - exsltCommonRegister - exsltMathRegister - exsltSetsRegister - exsltFuncRegister - exsltStrRegister - exsltDateRegister - exsltSaxonRegister - exsltRegisterAll -
\ No newline at end of file +LIBRARY libexslt +EXPORTS +exsltLibexsltVersion DATA +exsltLibraryVersion DATA +exsltLibxmlVersion DATA +exsltLibxsltVersion DATA +exsltCommonRegister +exsltDateRegister +exsltDynRegister +exsltFuncRegister +exsltMathRegister +exsltRegisterAll +exsltSaxonRegister +exsltSetsRegister +exsltStrRegister diff --git a/win32/libxslt.def.src b/win32/libxslt.def.src index 94c72c04..17d144f0 100644 --- a/win32/libxslt.def.src +++ b/win32/libxslt.def.src @@ -1,346 +1,211 @@ -/* win32/libxslt.def.src - Pseudo-source used to create a .DEF file for proper dynamic linkage. - - Assuming you use Microsoft's C compiler, you run a - - cl /EP libxslt.def.src > libxslt.def - - in order to get the right .DEF file. Basically, all you do is - preprocess this file using a C/C++ preprocessor and the right - .DEF file should come out. - - Should you need a function which does not seem to be exported - from the libxslt.dll, its name is most certainly missing here. - Add the name of the offending function to this file and rebuild. - - 21.03.2002, Igor Zlatkovic (igor@zlatkovic.com) -*/ - LIBRARY libxslt EXPORTS - -/* attributes.h - --------------------------------------------------------------------- */ - xsltParseStylesheetAttributeSet - xsltFreeAttributeSetsHashes - xsltApplyAttributeSet - xsltResolveStylesheetAttributeSet - - -/* documents.h - --------------------------------------------------------------------- */ - xsltNewDocument - xsltLoadDocument - xsltFindDocument - xsltFreeDocuments - xsltLoadStyleDocument - xsltNewStyleDocument - xsltFreeStyleDocuments - - -/* extensions.h - --------------------------------------------------------------------- */ - xsltRegisterExtModule - xsltRegisterExtModuleFull - xsltUnregisterExtModule - xsltGetExtData - xsltStyleGetExtData - xsltShutdownCtxtExts - xsltShutdownExts - xsltXPathGetTransformContext - - /* extension functions */ - xsltRegisterExtModuleFunction - // xsltExtFunctionLookup - xsltExtModuleFunctionLookup - xsltUnregisterExtModuleFunction - - /* extension elements */ - xsltNewElemPreComp - xsltInitElemPreComp - xsltRegisterExtModuleElement - xsltExtElementLookup - xsltExtModuleElementLookup - xsltExtModuleElementPreComputeLookup - xsltUnregisterExtModuleElement - - /* top-level elements */ - xsltRegisterExtModuleTopLevel - xsltExtModuleTopLevelLookup - xsltUnregisterExtModuleTopLevel - - /* These 2 functions are deprecated for use within modules. */ - xsltRegisterExtFunction - xsltRegisterExtElement - - /* Extension Prefix handling API. - Those are used by the XSLT (pre)processor. */ - xsltRegisterExtPrefix - xsltCheckExtPrefix - xsltInitCtxtExts - xsltFreeCtxtExts - xsltFreeExts - xsltPreComputeExtModuleElement - - /* Test module http://xmlsoft.org/XSLT/ */ - xsltRegisterTestModule - xsltDebugDumpExtensions - - -/* extra.h - --------------------------------------------------------------------- */ - xsltFunctionNodeSet - xsltDebug - xsltRegisterExtras - xsltRegisterAllExtras - - -/* functions.h - --------------------------------------------------------------------- */ - /* Interfaces for the functions implementations. */ - xsltDocumentFunction - xsltKeyFunction - xsltUnparsedEntityURIFunction - xsltFormatNumberFunction - xsltGenerateIdFunction - xsltSystemPropertyFunction - xsltElementAvailableFunction - xsltFunctionAvailableFunction - - /* And the registration */ - xsltRegisterAllFunctions - - -/* imports.h - --------------------------------------------------------------------- */ - /* Module interfaces */ - xsltParseStylesheetImport - xsltParseStylesheetInclude - xsltNextImport - xsltNeedElemSpaceHandling - xsltFindElemSpaceHandling - xsltFindTemplate - - -/* keys.h - --------------------------------------------------------------------- */ - xsltAddKey - xsltGetKey - xsltInitCtxtKeys - xsltFreeKeys - xsltFreeDocumentKeys - - -/* namespaces.h - --------------------------------------------------------------------- */ - xsltNamespaceAlias - xsltGetNamespace - xsltGetSpecialNamespace - xsltCopyNamespace - xsltCopyNamespaceList - xsltFreeNamespaceAliasHashes - - -/* numberInternals.h - --------------------------------------------------------------------- */ - /*** No functions exported from this file ***/ - - -/* pattern.h - --------------------------------------------------------------------- */ - /* Pattern related interfaces. */ - xsltCompilePattern - xsltFreeCompMatchList - xsltTestCompMatchList - - /* Template related interfaces. */ - xsltAddTemplate - xsltGetTemplate - xsltFreeTemplateHashes - xsltCleanupTemplates - #if 0 - xsltMatchPattern - #endif - - -/* preproc.h - --------------------------------------------------------------------- */ - xsltDocumentComp - xsltStylePreCompute - xsltFreeStylePreComps - - -/* security.h - --------------------------------------------------------------------- */ - /* Module interfaces */ - xsltNewSecurityPrefs - xsltFreeSecurityPrefs - xsltSetSecurityPrefs - xsltGetSecurityPrefs - xsltSetDefaultSecurityPrefs - xsltGetDefaultSecurityPrefs - xsltSetCtxtSecurityPrefs - xsltSecurityAllow - xsltSecurityForbid - - /* internal interfaces */ - xsltCheckWrite - xsltCheckRead - - -/* templates.h - --------------------------------------------------------------------- */ - xsltEvalXPathPredicate - xsltEvalTemplateString - xsltEvalAttrValueTemplate - xsltEvalStaticAttrValueTemplate - - /* TODO: this is obviously broken ... the namespaces should be passed too ! */ - xsltEvalXPathString - xsltTemplateProcess - xsltAttrListTemplateProcess - xsltAttrTemplateProcess - xsltAttrTemplateValueProcess - xsltAttrTemplateValueProcessNode - - -/* transform.h - --------------------------------------------------------------------- */ - /* XInclude default processing. */ - xsltSetXIncludeDefault - xsltGetXIncludeDefault - - /* Export context to users. */ - xsltNewTransformContext - xsltFreeTransformContext - xsltApplyStylesheetUser - - /* Private Interfaces. */ - xsltApplyStripSpaces - xsltExtElementLookup - xsltApplyStylesheet - xsltProfileStylesheet - xsltRunStylesheet - xsltRunStylesheetUser - xsltApplyOneTemplate - xsltDocumentElem - xsltSort - xsltCopy - xsltText - xsltElement - xsltComment - xsltAttribute - xsltProcessingInstruction - xsltCopyOf - xsltValueOf - xsltNumber - xsltApplyImports - xsltCallTemplate - xsltApplyTemplates - xsltChoose - xsltIf - xsltForEach - xsltRegisterAllElement - - /* Hook for the debugger if activated. */ - xslHandleDebugger - - xsltCopyTree - - -/* variables.h - --------------------------------------------------------------------- */ - /* Interfaces for the variable module. */ - xsltEvalGlobalVariables - xsltEvalUserParams - xsltQuoteUserParams - xsltEvalOneUserParam - xsltQuoteOneUserParam - xsltParseGlobalVariable - xsltParseGlobalParam - xsltParseStylesheetVariable - xsltParseStylesheetParam - xsltParseStylesheetCallerParam - xsltAddStackElemList - xsltFreeGlobalVariables - xsltVariableLookup - xsltXPathVariableLookup - - -/* xslt.h - --------------------------------------------------------------------- */ - xsltMaxDepth DATA - xsltEngineVersion DATA - xsltLibxsltVersion DATA - xsltLibxmlVersion DATA - xsltCleanupGlobals - - -/* xsltInternals.h - --------------------------------------------------------------------- */ - /* Functions associated to the internal types */ - // xsltDecimalFormatGetByName - xsltNewStylesheet - xsltParseStylesheetFile - xsltFreeStylesheet - xsltIsBlank - xsltFreeStackElemList - xsltDecimalFormatGetByName - xsltParseStylesheetProcess - xsltParseStylesheetOutput - xsltParseStylesheetDoc - xsltParseStylesheetImportedDoc - xsltLoadStylesheetPI - xsltNumberFormat - xsltFormatNumberConversion - xsltParseTemplateContent - xsltAllocateExtra - xsltAllocateExtraCtxt - - -/* xsltutils.h - --------------------------------------------------------------------- */ - /* Our own version of namespaced atributes lookup. */ - xsltGetNsProp - - /* XSLT specific error and debug reporting functions. */ - xsltGenericError DATA - xsltGenericErrorContext DATA - xsltGenericDebug DATA - xsltGenericDebugContext DATA - xsltPrintErrorContext - xsltMessage - xsltSetGenericErrorFunc - xsltSetGenericDebugFunc - xsltSetTransformErrorFunc - xsltTransformError - - /* Sorting. */ - xsltDocumentSortFunction - xsltComputeSortResult - xsltDoSortFunction - xsltSetSortFunc - xsltSetCtxtSortFunc - - /* QNames handling. */ - xsltGetQNameURI - - /* Output, reuse libxml I/O buffers. */ - xsltSaveResultTo - xsltSaveResultToFilename - xsltSaveResultToFile - xsltSaveResultToFd - xsltSaveResultToString - - /* Profiling. */ - xsltSaveProfiling - xsltGetProfileInformation - xsltTimestamp - xsltCalibrateAdjust - - /* Hooks for the debugger. */ - xslDebugStatus DATA - xsltSetDebuggerCallbacks - xslAddCall - xslDropCall - +xslDebugStatus DATA +xsltEngineVersion DATA +xsltExtMarker DATA +xsltGenericDebug DATA +xsltGenericDebugContext DATA +xsltGenericError DATA +xsltGenericErrorContext DATA +xsltLibxmlVersion DATA +xsltLibxsltVersion DATA +xsltMaxDepth DATA +xslAddCall +xslDropCall +xslHandleDebugger +xsltAddKey +xsltAddStackElemList +xsltAddTemplate +xsltAllocateExtra +xsltAllocateExtraCtxt +xsltApplyAttributeSet +xsltApplyImports +xsltApplyOneTemplate +xsltApplyStripSpaces +xsltApplyStylesheet +xsltApplyStylesheetUser +xsltApplyTemplates +xsltAttrListTemplateProcess +xsltAttrTemplateProcess +xsltAttrTemplateValueProcess +xsltAttrTemplateValueProcessNode +xsltAttribute +xsltCalibrateAdjust +xsltCallTemplate +xsltCheckExtPrefix +xsltCheckRead +xsltCheckWrite +xsltChoose +xsltCleanupGlobals +xsltCleanupTemplates +xsltComment +xsltCompilePattern +xsltComputeSortResult +xsltCopy +xsltCopyNamespace +xsltCopyNamespaceList +xsltCopyOf +xsltCreateRVT +xsltDebug +xsltDebugDumpExtensions +xsltDecimalFormatGetByName +xsltDefaultSortFunction +xsltDoSortFunction +xsltDocumentComp +xsltDocumentElem +xsltDocumentFunction +xsltDocumentSortFunction +xsltElement +xsltElementAvailableFunction +xsltEvalAttrValueTemplate +xsltEvalGlobalVariables +xsltEvalOneUserParam +xsltEvalStaticAttrValueTemplate +xsltEvalTemplateString +xsltEvalUserParams +xsltEvalXPathPredicate +xsltEvalXPathString +xsltEvalXPathStringNs +xsltExtElementLookup +/*xsltExtFunctionLookup*/ +xsltExtModuleElementLookup +xsltExtModuleElementPreComputeLookup +xsltExtModuleFunctionLookup +xsltExtModuleTopLevelLookup +xsltFindDocument +xsltFindElemSpaceHandling +xsltFindTemplate +xsltForEach +xsltFormatNumberConversion +xsltFormatNumberFunction +xsltFreeAttributeSetsHashes +xsltFreeCompMatchList +xsltFreeCtxtExts +xsltFreeDocumentKeys +xsltFreeDocuments +xsltFreeExts +xsltFreeGlobalVariables +xsltFreeKeys +xsltFreeNamespaceAliasHashes +xsltFreeRVTs +xsltFreeSecurityPrefs +xsltFreeStackElemList +xsltFreeStyleDocuments +xsltFreeStylePreComps +xsltFreeStylesheet +xsltFreeTemplateHashes +xsltFreeTransformContext +xsltFunctionAvailableFunction +xsltFunctionNodeSet +xsltGenerateIdFunction +xsltGetDefaultSecurityPrefs +xsltGetExtData +xsltGetKey +xsltGetNamespace +xsltGetNsProp +xsltGetProfileInformation +xsltGetQNameURI +xsltGetSecurityPrefs +xsltGetSpecialNamespace +xsltGetTemplate +xsltGetUTF8Char +xsltGetXIncludeDefault +xsltIf +xsltInitCtxtExts +xsltInitCtxtKeys +xsltInitElemPreComp +xsltIsBlank +xsltKeyFunction +xsltLoadDocument +xsltLoadStyleDocument +xsltLoadStylesheetPI +/*xsltMatchPattern*/ +xsltMessage +xsltNamespaceAlias +xsltNeedElemSpaceHandling +xsltNewDocument +xsltNewElemPreComp +xsltNewSecurityPrefs +xsltNewStyleDocument +xsltNewStylesheet +xsltNewTransformContext +xsltNextImport +xsltNumber +xsltNumberFormat +xsltParseGlobalParam +xsltParseGlobalVariable +xsltParseStylesheetAttributeSet +xsltParseStylesheetCallerParam +xsltParseStylesheetDoc +xsltParseStylesheetFile +xsltParseStylesheetImport +xsltParseStylesheetImportedDoc +xsltParseStylesheetInclude +xsltParseStylesheetOutput +xsltParseStylesheetParam +xsltParseStylesheetProcess +xsltParseStylesheetVariable +xsltParseTemplateContent +xsltPreComputeExtModuleElement +xsltPrintErrorContext +xsltProcessingInstruction +xsltProfileStylesheet +xsltQuoteOneUserParam +xsltQuoteUserParams +xsltRegisterAllElement +xsltRegisterAllExtras +xsltRegisterAllFunctions +xsltRegisterExtElement +xsltRegisterExtFunction +xsltRegisterExtModule +xsltRegisterExtModuleElement +xsltRegisterExtModuleFull +xsltRegisterExtModuleFunction +xsltRegisterExtModuleTopLevel +xsltRegisterExtPrefix +xsltRegisterExtras +xsltRegisterPersistRVT +xsltRegisterTestModule +xsltRegisterTmpRVT +xsltResolveStylesheetAttributeSet +xsltRunStylesheet +xsltRunStylesheetUser +xsltSaveProfiling +xsltSaveResultTo +xsltSaveResultToFd +xsltSaveResultToFile +xsltSaveResultToFilename +xsltSaveResultToString +xsltSecurityAllow +xsltSecurityForbid +xsltSetCtxtSecurityPrefs +xsltSetCtxtSortFunc +xsltSetDebuggerCallbacks +xsltSetDefaultSecurityPrefs +xsltSetGenericDebugFunc +xsltSetGenericErrorFunc +xsltSetSecurityPrefs +xsltSetSortFunc +xsltSetTransformErrorFunc +xsltSetXIncludeDefault +xsltShutdownCtxtExts +xsltShutdownExts +xsltSort +xsltStyleGetExtData +xsltStylePreCompute +xsltSystemPropertyFunction +xsltTemplateProcess +xsltTestCompMatchList +xsltText +xsltTimestamp +xsltTransformError +xsltUnparsedEntityURIFunction +xsltUnregisterExtModule +xsltUnregisterExtModuleElement +xsltUnregisterExtModuleFunction +xsltUnregisterExtModuleTopLevel +xsltValueOf +xsltVariableLookup +xsltXPathFunctionLookup +xsltXPathGetTransformContext +xsltXPathVariableLookup |