Home | History | Annotate | Download | only in libxmlrpg
      1       * Summary: SAX2 parser interface used to build the DOM tree
      2       * Description: those are the default SAX2 interfaces used by
      3       *              the library when building DOM tree.
      4       *
      5       * Copy: See Copyright for the status of this software.
      6       *
      7       * Author: Patrick Monnerat <pm (a] datasphere.ch>, DATASPHERE S.A.
      8 
      9       /if not defined(XML_SAX2_H__)
     10       /define XML_SAX2_H__
     11 
     12       /include "libxmlrpg/xmlversion"
     13       /include "libxmlrpg/parser"
     14       /include "libxmlrpg/xlink"
     15 
     16      d xmlSAX2GetPublicId...
     17      d                 pr              *   extproc('xmlSAX2getPublicId')        const xmlChar *
     18      d  ctx                            *   value                                void *
     19 
     20      d xmlSAX2GetSystemId...
     21      d                 pr              *   extproc('xmlSAX2getSystemId')        const xmlChar *
     22      d  ctx                            *   value                                void *
     23 
     24      d xmlSAX2SetDocumentLocator...
     25      d                 pr                  extproc('xmlSAX2SetDocumentLocator')
     26      d  ctx                            *   value                                void *
     27      d  loc                                value like(xmlSAXLocatorPtr)
     28 
     29      d xmlSAX2GetLineNumber...
     30      d                 pr            10i 0 extproc('xmlSAX2GetLineNumber')
     31      d  ctx                            *   value                                void *
     32 
     33      d xmlSAX2GetColumnNumber...
     34      d                 pr            10i 0 extproc('xmlSAX2GetColumnNumber')
     35      d  ctx                            *   value                                void *
     36 
     37      d xmlSAX2IsStandalone...
     38      d                 pr            10i 0 extproc('xmlSAX2IsStandalone')
     39      d  ctx                            *   value                                void *
     40 
     41      d xmlSAX2HasInternalSubset...
     42      d                 pr            10i 0 extproc('xmlSAX2HasInternalSubset')
     43      d  ctx                            *   value                                void *
     44 
     45      d xmlSAX2HasExternalSubset...
     46      d                 pr            10i 0 extproc('xmlSAX2HasExternalSubset')
     47      d  ctx                            *   value                                void *
     48 
     49      d xmlSAX2InternalSubset...
     50      d                 pr                  extproc('xmlSAX2InternalSubset')
     51      d  ctx                            *   value                                void *
     52      d  name                           *   value options(*string)               const xmlChar *
     53      d  ExternalID                     *   value options(*string)               const xmlChar *
     54      d  SystemID                       *   value options(*string)               const xmlChar *
     55 
     56      d xmlSAX2ExternalSubset...
     57      d                 pr                  extproc('xmlSAX2ExternalSubset')
     58      d  ctx                            *   value                                void *
     59      d  name                           *   value options(*string)               const xmlChar *
     60      d  ExternalID                     *   value options(*string)               const xmlChar *
     61      d  SystemID                       *   value options(*string)               const xmlChar *
     62 
     63      d xmlSAX2GetEntity...
     64      d                 pr                  extproc('xmlSAX2GetEntity')
     65      d                                     like(xmlEntityPtr)
     66      d  ctx                            *   value                                void *
     67      d  name                           *   value options(*string)               const xmlChar *
     68 
     69      d xmlSAX2GetParameterEntity...
     70      d                 pr                  extproc('xmlSAX2GetParameterEntity')
     71      d                                     like(xmlEntityPtr)
     72      d  ctx                            *   value                                void *
     73      d  name                           *   value options(*string)               const xmlChar *
     74 
     75      d xmlSAX2ResolveEntity...
     76      d                 pr                  extproc('xmlSAX2ResolveEntity')
     77      d                                     like(xmlParserInputPtr)
     78      d  ctx                            *   value                                void *
     79      d  publicId                       *   value options(*string)               const xmlChar *
     80      d  systemId                       *   value options(*string)               const xmlChar *
     81 
     82      d xmlSAX2EntityDecl...
     83      d                 pr                  extproc('xmlSAX2EntityDecl')
     84      d  ctx                            *   value                                void *
     85      d  name                           *   value options(*string)               const xmlChar *
     86      d  type                         10i 0 value
     87      d  publicId                       *   value options(*string)               const xmlChar *
     88      d  systemId                       *   value options(*string)               const xmlChar *
     89      d  content                        *   value options(*string)               xmlChar *
     90 
     91      d xmlSAX2AttributeDecl...
     92      d                 pr                  extproc('xmlSAX2AttributeDecl')
     93      d  ctx                            *   value                                void *
     94      d  elem                           *   value options(*string)               const xmlChar *
     95      d  fullname                       *   value options(*string)               const xmlChar *
     96      d  type                         10i 0 value
     97      d  def                          10i 0 value
     98      d  defaultValue                   *   value options(*string)               const xmlChar *
     99      d  tree                               value like(xmlEnumerationPtr)
    100 
    101      d xmlSAX2ElementDecl...
    102      d                 pr                  extproc('xmlSAX2ElementDecl')
    103      d  ctx                            *   value                                void *
    104      d  name                           *   value options(*string)               const xmlChar *
    105      d  type                         10i 0 value
    106      d  content                            value like(xmlElementContentPtr)
    107 
    108      d xmlSAX2NotationDecl...
    109      d                 pr                  extproc('xmlSAX2NotationDecl')
    110      d  ctx                            *   value                                void *
    111      d  name                           *   value options(*string)               const xmlChar *
    112      d  publicId                       *   value options(*string)               const xmlChar *
    113      d  systemId                       *   value options(*string)               const xmlChar *
    114 
    115      d xmlSAX2UnparsedEntityDecl...
    116      d                 pr                  extproc('xmlSAX2UnparsedEntityDecl')
    117      d  ctx                            *   value                                void *
    118      d  name                           *   value options(*string)               const xmlChar *
    119      d  publicId                       *   value options(*string)               const xmlChar *
    120      d  systemId                       *   value options(*string)               const xmlChar *
    121      d  notationName                   *   value options(*string)               xmlChar *
    122 
    123      d xmlSAX2StartDocument...
    124      d                 pr                  extproc('xmlSAX2StartDocument')
    125      d  ctx                            *   value                                void *
    126 
    127      d xmlSAX2EndDocument...
    128      d                 pr                  extproc('xmlSAX2EndDocument')
    129      d  ctx                            *   value                                void *
    130 
    131       /undefine XML_TESTVAL
    132       /if defined(LIBXML_SAX1_ENABLED)
    133       /define XML_TESTVAL
    134       /elseif defined(LIBXML_HTML_ENABLED)
    135       /define XML_TESTVAL
    136       /elseif defined(LIBXML_WRITER_ENABLED)
    137       /define XML_TESTVAL
    138       /elseif defined(LIBXML_DOCB_ENABLED)
    139       /endif
    140       /if defined(XML_TESTVAL)
    141      d xmlSAX2StartElement...
    142      d                 pr                  extproc('xmlSAX2StartElement')
    143      d  ctx                            *   value                                void *
    144      d  fullname                       *   value options(*string)               const xmlChar *
    145      d  atts                           *                                        const xmlChar *(*)
    146 
    147      d xmlSAX2EndElement...
    148      d                 pr                  extproc('xmlSAX2EndElement')
    149      d  ctx                            *   value                                void *
    150      d  name                           *   value options(*string)               const xmlChar *
    151 
    152       /undefine XML_TESTVAL
    153       /endif
    154 
    155      d xmlSAX2StartElementNs...
    156      d                 pr                  extproc('xmlSAX2StartElementNs')
    157      d  ctx                            *   value                                void *
    158      d  localname                      *   value options(*string)               const xmlChar *
    159      d  prefix                         *   value options(*string)               const xmlChar *
    160      d  URI                            *   value options(*string)               const xmlChar *
    161      d  nb_namespaces                10i 0 value
    162      d  namespaces                     *   value                                const xmlChar *(*)
    163      d  nb_attributes                10i 0 value
    164      d  nb_defaulted                 10i 0 value
    165      d  attributes                     *                                        const xmlChar *(*)
    166 
    167      d xmlSAX2EndElementNs...
    168      d                 pr                  extproc('xmlSAX2EndElementNs')
    169      d  ctx                            *   value                                void *
    170      d  localname                      *   value options(*string)               const xmlChar *
    171      d  prefix                         *   value options(*string)               const xmlChar *
    172      d  URI                            *   value options(*string)               const xmlChar *
    173 
    174      d xmlSAX2Reference...
    175      d                 pr                  extproc('xmlSAX2Reference')
    176      d  ctx                            *   value                                void *
    177      d  name                           *   value options(*string)               const xmlChar *
    178 
    179      d xmlSAX2Characters...
    180      d                 pr                  extproc('xmlSAX2Characters')
    181      d  ctx                            *   value                                void *
    182      d  ch                             *   value options(*string)               const xmlChar *
    183      d  len                          10i 0 value
    184 
    185      d xmlSAX2IgnorableWhitespace...
    186      d                 pr                  extproc('xmlSAX2IgnorableWhitespace')
    187      d  ctx                            *   value                                void *
    188      d  ch                             *   value options(*string)               const xmlChar *
    189      d  len                          10i 0 value
    190 
    191      d xmlSAX2ProcessingInstruction...
    192      d                 pr                  extproc(
    193      d                                      'xmlSAX2ProcessingInstruction')
    194      d  ctx                            *   value                                void *
    195      d  target                         *   value options(*string)               const xmlChar *
    196      d  data                           *   value options(*string)               const xmlChar *
    197 
    198      d xmlSAX2Comment...
    199      d                 pr                  extproc('xmlSAX2Comment')
    200      d  ctx                            *   value                                void *
    201      d  value                          *   value options(*string)               const xmlChar *
    202 
    203      d xmlSAX2CDataBlock...
    204      d                 pr                  extproc('xmlSAX2CDataBlock')
    205      d  ctx                            *   value                                void *
    206      d  value                          *   value options(*string)               const xmlChar *
    207      d  len                          10i 0 value
    208 
    209       /if defined(LIBXML_SAX1_ENABLED)
    210      d xmlSAXDefaultVersion...
    211      d                 pr            10i 0 extproc('xmlSAXDefaultVersion')
    212      d  version                      10i 0 value
    213       /endif                                                                    LIBXML_SAX1_ENABLED
    214 
    215      d xmlSAXVersion   pr            10i 0 extproc('xmlSAXVersion')
    216      d  hdlr                               likeds(xmlSAXHandler)
    217      d  version                      10i 0 value
    218 
    219      d xmlSAX2InitDefaultSAXHandler...
    220      d                 pr                  extproc(
    221      d                                      'xmlSAX2InitDefaultSAXHandler')
    222      d  hdlr                               likeds(xmlSAXHandler)
    223      d  warning                      10i 0 value
    224 
    225       /if defined(LIBXML_HTML_ENABLED)
    226      d xmlSAX2InitHtmlDefaultSAXHandler...
    227      d                 pr                  extproc(
    228      d                                      'xmlSAX2InitHtmlDefaultSAXHandler')
    229      d  hdlr                               likeds(xmlSAXHandler)
    230 
    231      d htmlDefaultSAXHandlerInit...
    232      d                 pr                  extproc('htmlDefaultSAXHandlerInit')
    233       /endif
    234 
    235       /if defined(LIBXML_DOCB_ENABLED)
    236      d xmlSAX2InitDocbDefaultSAXHandler...
    237      d                 pr                  extproc(
    238      d                                      'xmlSAX2InitDocbDefaultSAXHandler')
    239      d  hdlr                               likeds(xmlSAXHandler)
    240 
    241      d docbDefaultSAXHandlerInit...
    242      d                 pr                  extproc('docbDefaultSAXHandlerInit')
    243       /endif
    244 
    245      d xmlDefaultSAXHandlerInit...
    246      d                 pr                  extproc('xmlDefaultSAXHandlerInit')
    247 
    248       /endif                                                                    XML_SAX2_H__
    249