Eneboo - Documentación para desarrolladores
src/libxslt/libxslt/functions.h
Ir a la documentación de este archivo.
00001 /*
00002  * Summary: interface for the XSLT functions not from XPath
00003  * Description: a set of extra functions coming from XSLT but not in XPath
00004  *
00005  * Copy: See Copyright for the status of this software.
00006  *
00007  * Author: Daniel Veillard and Bjorn Reese <breese@users.sourceforge.net>
00008  */
00009 
00010 #ifndef __XML_XSLT_FUNCTIONS_H__
00011 #define __XML_XSLT_FUNCTIONS_H__
00012 
00013 #include <libxml/xpath.h>
00014 #include <libxml/xpathInternals.h>
00015 #include "xsltexports.h"
00016 #include "xsltInternals.h"
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 
00027 #define XSLT_REGISTER_FUNCTION_LOOKUP(ctxt)                     \
00028     xmlXPathRegisterFuncLookup((ctxt)->xpathCtxt,               \
00029         (xmlXPathFuncLookupFunc) xsltXPathFunctionLookup,       \
00030         (void *)(ctxt->xpathCtxt));
00031 
00032 XSLTPUBFUN xmlXPathFunction XSLTCALL
00033         xsltXPathFunctionLookup         (xmlXPathContextPtr ctxt,
00034                                          const xmlChar *name,
00035                                          const xmlChar *ns_uri);
00036 
00037 /*
00038  * Interfaces for the functions implementations.
00039  */
00040 
00041 XSLTPUBFUN void XSLTCALL        
00042         xsltDocumentFunction            (xmlXPathParserContextPtr ctxt,
00043                                          int nargs);
00044 XSLTPUBFUN void XSLTCALL        
00045         xsltKeyFunction                 (xmlXPathParserContextPtr ctxt,
00046                                          int nargs);
00047 XSLTPUBFUN void XSLTCALL        
00048         xsltUnparsedEntityURIFunction   (xmlXPathParserContextPtr ctxt,
00049                                          int nargs);
00050 XSLTPUBFUN void XSLTCALL        
00051         xsltFormatNumberFunction        (xmlXPathParserContextPtr ctxt,
00052                                          int nargs);
00053 XSLTPUBFUN void XSLTCALL        
00054         xsltGenerateIdFunction          (xmlXPathParserContextPtr ctxt,
00055                                          int nargs);
00056 XSLTPUBFUN void XSLTCALL        
00057         xsltSystemPropertyFunction      (xmlXPathParserContextPtr ctxt,
00058                                          int nargs);
00059 XSLTPUBFUN void XSLTCALL        
00060         xsltElementAvailableFunction    (xmlXPathParserContextPtr ctxt,
00061                                          int nargs);
00062 XSLTPUBFUN void XSLTCALL        
00063         xsltFunctionAvailableFunction   (xmlXPathParserContextPtr ctxt,
00064                                          int nargs);
00065 
00066 /*
00067  * And the registration
00068  */
00069 
00070 XSLTPUBFUN void XSLTCALL        
00071         xsltRegisterAllFunctions        (xmlXPathContextPtr ctxt);
00072 
00073 #ifdef __cplusplus
00074 }
00075 #endif
00076 
00077 #endif /* __XML_XSLT_FUNCTIONS_H__ */
00078 
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'