Annotation of win32/gnome/libxslt-x.x.x/libxslt/xslt.h, revision 1.2

1.1       paf         1: /*
                      2:  * xslt.h: Interfaces, constants and types related to the XSLT engine
                      3:  *
                      4:  * See Copyright for the status of this software.
                      5:  *
                      6:  * daniel@veillard.com
                      7:  */
                      8: 
                      9: #ifndef __XML_XSLT_H__
                     10: #define __XML_XSLT_H__
                     11: 
                     12: #include <libxml/tree.h>
                     13: 
                     14: #ifdef __cplusplus
                     15: extern "C" {
                     16: #endif
                     17: 
                     18: /**
                     19:  * XSLT_DEFAULT_VERSION:
                     20:  *
1.2     ! paf        21:  * The default version of XSLT supported.
1.1       paf        22:  */
                     23: #define XSLT_DEFAULT_VERSION     "1.0"
                     24: 
                     25: /**
                     26:  * XSLT_DEFAULT_VENDOR:
                     27:  *
1.2     ! paf        28:  * The XSLT "vendor" string for this processor.
1.1       paf        29:  */
                     30: #define XSLT_DEFAULT_VENDOR      "libxslt"
                     31: 
                     32: /**
                     33:  * XSLT_DEFAULT_URL:
                     34:  *
1.2     ! paf        35:  * The XSLT "vendor" URL for this processor.
1.1       paf        36:  */
                     37: #define XSLT_DEFAULT_URL         "http://xmlsoft.org/XSLT/"
                     38: 
                     39: /**
                     40:  * XSLT_NAMESPACE:
                     41:  *
1.2     ! paf        42:  * The XSLT specification namespace.
1.1       paf        43:  */
                     44: #define XSLT_NAMESPACE ((xmlChar *) "http://www.w3.org/1999/XSL/Transform")
                     45: 
                     46: /**
                     47:  * LIBXSLT_PUBLIC:
                     48:  *
1.2     ! paf        49:  * Macro used on Windows to tag public identifiers from shared libraries.
1.1       paf        50:  */
1.2     ! paf        51: #if !defined LIBXSLT_PUBLIC
        !            52: #if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !defined LIBXSLT_STATIC
        !            53: #define LIBXSLT_PUBLIC __declspec(dllimport)
        !            54: #else
        !            55: #define LIBXSLT_PUBLIC 
        !            56: #endif
1.1       paf        57: #endif
                     58: 
                     59: /**
                     60:  * xsltMaxDepth:
                     61:  *
1.2     ! paf        62:  * This value is used to detect templates loops.
1.1       paf        63:  */
                     64: LIBXSLT_PUBLIC extern int xsltMaxDepth;
                     65: 
                     66: /**
                     67:  * xsltEngineVersion:
                     68:  *
1.2     ! paf        69:  * The version string for libxslt.
1.1       paf        70:  */
                     71: LIBXSLT_PUBLIC extern const char *xsltEngineVersion;
                     72: 
                     73: /**
                     74:  * xsltLibxsltVersion:
                     75:  *
1.2     ! paf        76:  * The version of libxslt compiled.
1.1       paf        77:  */
                     78: LIBXSLT_PUBLIC extern const int xsltLibxsltVersion;
                     79: 
                     80: /**
                     81:  * xsltLibxmlVersion:
                     82:  *
1.2     ! paf        83:  * The version of libxml libxslt was compiled against.
1.1       paf        84:  */
                     85: LIBXSLT_PUBLIC extern const int xsltLibxmlVersion;
                     86: 
                     87: /*
1.2     ! paf        88:  * Global cleanup function.
1.1       paf        89:  */
                     90: void   xsltCleanupGlobals      (void);
                     91: 
                     92: #ifdef __cplusplus
                     93: }
                     94: #endif
                     95: 
                     96: #endif /* __XML_XSLT_H__ */
                     97: 

E-mail: