"Fossies" - the Fresh Open Source Software Archive

Member "FreeBASIC-1.09.0-win64/inc/libxslt/documents.bi" (1 Jan 2022, 2860 Bytes) of package /windows/misc/FreeBASIC-1.09.0-win64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Visual Basic source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 '' FreeBASIC binding for libxslt-1.1.28
    2 ''
    3 '' based on the C header files:
    4 ''    Copyright (C) 2001-2002 Daniel Veillard.  All Rights Reserved.
    5 ''
    6 ''   Permission is hereby granted, free of charge, to any person obtaining a copy
    7 ''   of this software and associated documentation files (the "Software"), to deal
    8 ''   in the Software without restriction, including without limitation the rights
    9 ''   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   10 ''   copies of the Software, and to permit persons to whom the Software is fur-
   11 ''   nished to do so, subject to the following conditions:
   12 ''
   13 ''   The above copyright notice and this permission notice shall be included in
   14 ''   all copies or substantial portions of the Software.
   15 ''
   16 ''   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   17 ''   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
   18 ''   NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
   19 ''   DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
   20 ''   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
   21 ''   NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
   22 ''
   23 ''   Except as contained in this notice, the name of Daniel Veillard shall not
   24 ''   be used in advertising or otherwise to promote the sale, use or other deal-
   25 ''   ings in this Software without prior written authorization from him.
   26 ''
   27 '' translated to FreeBASIC by:
   28 ''   Copyright © 2015 FreeBASIC development team
   29 
   30 #pragma once
   31 
   32 #include once "libxml/tree.bi"
   33 #include once "xsltexports.bi"
   34 #include once "xsltInternals.bi"
   35 
   36 extern "C"
   37 
   38 #define __XML_XSLT_DOCUMENTS_H__
   39 declare function xsltNewDocument(byval ctxt as xsltTransformContextPtr, byval doc as xmlDocPtr) as xsltDocumentPtr
   40 declare function xsltLoadDocument(byval ctxt as xsltTransformContextPtr, byval URI as const xmlChar ptr) as xsltDocumentPtr
   41 declare function xsltFindDocument(byval ctxt as xsltTransformContextPtr, byval doc as xmlDocPtr) as xsltDocumentPtr
   42 declare sub xsltFreeDocuments(byval ctxt as xsltTransformContextPtr)
   43 declare function xsltLoadStyleDocument(byval style as xsltStylesheetPtr, byval URI as const xmlChar ptr) as xsltDocumentPtr
   44 declare function xsltNewStyleDocument(byval style as xsltStylesheetPtr, byval doc as xmlDocPtr) as xsltDocumentPtr
   45 declare sub xsltFreeStyleDocuments(byval style as xsltStylesheetPtr)
   46 
   47 type xsltLoadType as long
   48 enum
   49     XSLT_LOAD_START = 0
   50     XSLT_LOAD_STYLESHEET = 1
   51     XSLT_LOAD_DOCUMENT = 2
   52 end enum
   53 
   54 type xsltDocLoaderFunc as function(byval URI as const xmlChar ptr, byval dict as xmlDictPtr, byval options as long, byval ctxt as any ptr, byval type as xsltLoadType) as xmlDocPtr
   55 declare sub xsltSetLoaderFunc(byval f as xsltDocLoaderFunc)
   56 extern xsltDocDefaultLoader as xsltDocLoaderFunc
   57 
   58 end extern