"Fossies" - the Fresh Open Source Software Archive

Member "FreeBASIC-1.09.0-win64/inc/libxml/DOCBparser.bi" (1 Jan 2022, 3211 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 libxml2-2.9.2
    2 ''
    3 '' based on the C header files:
    4 ''    Copyright (C) 1998-2012 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 ''   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   20 ''   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   21 ''   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   22 ''   THE SOFTWARE.
   23 ''
   24 '' translated to FreeBASIC by:
   25 ''   Copyright © 2015 FreeBASIC development team
   26 
   27 #pragma once
   28 
   29 #include once "libxml/xmlversion.bi"
   30 #include once "libxml/parser.bi"
   31 #include once "libxml/parserInternals.bi"
   32 
   33 extern "C"
   34 
   35 #define __DOCB_PARSER_H__
   36 type docbParserCtxt as xmlParserCtxt
   37 type docbParserCtxtPtr as xmlParserCtxtPtr
   38 type docbSAXHandler as xmlSAXHandler
   39 type docbSAXHandlerPtr as xmlSAXHandlerPtr
   40 type docbParserInput as xmlParserInput
   41 type docbParserInputPtr as xmlParserInputPtr
   42 type docbDocPtr as xmlDocPtr
   43 
   44 declare function docbEncodeEntities(byval out as ubyte ptr, byval outlen as long ptr, byval in as const ubyte ptr, byval inlen as long ptr, byval quoteChar as long) as long
   45 declare function docbSAXParseDoc(byval cur as xmlChar ptr, byval encoding as const zstring ptr, byval sax as docbSAXHandlerPtr, byval userData as any ptr) as docbDocPtr
   46 declare function docbParseDoc(byval cur as xmlChar ptr, byval encoding as const zstring ptr) as docbDocPtr
   47 declare function docbSAXParseFile(byval filename as const zstring ptr, byval encoding as const zstring ptr, byval sax as docbSAXHandlerPtr, byval userData as any ptr) as docbDocPtr
   48 declare function docbParseFile(byval filename as const zstring ptr, byval encoding as const zstring ptr) as docbDocPtr
   49 declare sub docbFreeParserCtxt(byval ctxt as docbParserCtxtPtr)
   50 declare function docbCreatePushParserCtxt(byval sax as docbSAXHandlerPtr, byval user_data as any ptr, byval chunk as const zstring ptr, byval size as long, byval filename as const zstring ptr, byval enc as xmlCharEncoding) as docbParserCtxtPtr
   51 declare function docbParseChunk(byval ctxt as docbParserCtxtPtr, byval chunk as const zstring ptr, byval size as long, byval terminate as long) as long
   52 declare function docbCreateFileParserCtxt(byval filename as const zstring ptr, byval encoding as const zstring ptr) as docbParserCtxtPtr
   53 declare function docbParseDocument(byval ctxt as docbParserCtxtPtr) as long
   54 
   55 end extern