Commit e083c30e authored by Patrick Monnerat's avatar Patrick Monnerat Committed by Daniel Veillard

OS400: ILE RPG language header files.

parent 7d888f07
* Summary: old DocBook SGML parser
* Description: interface for a DocBook SGML non-verifying parser
* This code is DEPRECATED, and should not be used anymore.
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(DOCB_PARSER_H__)
/define DOCB_PARSER_H__
/include "libxmlrpg/xmlversion"
/if defined(LIBXML_DOCB_ENABLED)
/include "libxmlrpg/parser"
/include "libxmlrpg/parserInternals"
* Most of the back-end structures from XML and SGML are shared.
d docbParserCtxtPtr...
d s based(######typedef######)
d like(xmlParserCtxtPtr)
d docbParserCtxt ds based(docbParserCtxtPtr)
d likeds(xmlParserCtxt)
d docbSAXHandlerPtr...
d s based(######typedef######)
d like(xmlSAXHandlerPtr)
d docbSAXHandler ds based(docbSAXHandlerPtr)
d likeds(xmlSAXHandler)
d docbParserInputPtr...
d s based(######typedef######)
d like(xmlParserInputPtr)
d docbParserInput...
d ds based(docbParserInputPtr)
d likeds(xmlParserInput)
d docbDocPtr s based(######typedef######)
d like(xmlDocPtr)
* There is only few public functions.
d docbEncodeEntities...
d pr 10i 0 extproc('docbEncodeEntities')
d out * value options(*string) unsigned char *
d outlen * value int *
d in * value options(*string) const unsigned char
d *
d inlen * value int *
d quoteChar 10i 0 value
d docbSAXParseDoc...
d pr extproc('docbSAXParseDoc')
d like(docbDocPtr)
d cur * value options(*string) xmlChar *
d encoding * value options(*string) const char *
d sax value like(docbSAXHandlerPtr)
d userData * value void *
d docbParseDoc pr extproc('docbParseDoc')
d like(docbDocPtr)
d cur * value options(*string) xmlChar *
d encoding * value options(*string) const char *
d docbSAXParseFile...
d pr extproc('docbSAXParseFile')
d like(docbDocPtr)
d filename * value options(*string) const char *
d encoding * value options(*string) const char *
d sax value like(docbSAXHandlerPtr)
d userData * value void *
d docbParseFile pr extproc('docbParseFile')
d like(docbDocPtr)
d filename * value options(*string) const char *
d encoding * value options(*string) const char *
* Interfaces for the Push mode.
d docbFreeParserCtxt...
d pr extproc('docbFreeParserCtxt')
d ctxt value like(docbParserCtxtPtr)
d docbCreatePushParserCtxt...
d pr extproc('docbCreatePushParserCtxt')
d like(docbParserCtxtPtr)
d sax value like(docbSAXHandlerPtr)
d user_data * value void *
d chunk * value options(*string) const char *
d size 10i 0 value
d filename * value options(*string) const char *
d enc value like(xmlCharEncoding)
d docbParseChunk pr 10i 0 extproc('docbParseChunk')
d ctxt value like(docbParserCtxtPtr)
d chunk * value options(*string) const char *
d size 10i 0 value
d terminate 10i 0 value
d docbCreateFileParserCtxt...
d pr extproc('docbCreateFileParserCtxt')
d like(docbParserCtxtPtr)
d filename * value options(*string) const char *
d encoding * value options(*string) const char *
d docbParseDocument...
d pr 10i 0 extproc('docbParseDocument')
d ctxt value like(docbParserCtxtPtr)
/endif LIBXML_DOCB_ENABLED
/endif DOCB_PARSER_H__
This diff is collapsed.
* Summary: specific APIs to process HTML tree, especially serialization
* Description: this module implements a few function needed to process
* tree in an HTML specific way.
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(HTML_TREE_H__)
/define HTML_TREE_H__
/include "libxmlrpg/xmlversion"
/include "libxmlrpg/tree"
/include "libxmlrpg/HTMLparser"
/if defined(LIBXML_HTML_ENABLED)
* HTML_TEXT_NODE:
*
* Macro. A text node in a HTML document is really implemented
* the same way as a text node in an XML document.
d HTML_TEXT_NODE c 3
* HTML_ENTITY_REF_NODE:
*
* Macro. An entity reference in a HTML document is really implemented
* the same way as an entity reference in an XML document.
d HTML_ENTITY_REF_NODE...
d c 5
* HTML_COMMENT_NODE:
*
* Macro. A comment in a HTML document is really implemented
* the same way as a comment in an XML document.
d HTML_COMMENT_NODE...
d c 8
* HTML_PRESERVE_NODE:
*
* Macro. A preserved node in a HTML document is really implemented
* the same way as a CDATA section in an XML document.
d HTML_PRESERVE_NODE...
d c 4
* HTML_PI_NODE:
*
* Macro. A processing instruction in a HTML document is really implemented
* the same way as a processing instruction in an XML document.
d HTML_PI_NODE c 7
d htmlNewDoc pr extproc('htmlNewDoc')
d like(htmlDocPtr)
d URI * value options(*string) const xmlChar *
d ExternalID * value options(*string) const xmlChar *
d htmlNewDocNoDtD...
d pr extproc('htmlNewDocNoDtD')
d like(htmlDocPtr)
d URI * value options(*string) const xmlChar *
d ExternalID * value options(*string) const xmlChar *
d htmlGetMetaEncoding...
d pr * extproc('htmlGetMetaEncoding') const xmlChar *
d doc value like(htmlDocPtr)
d htmlSetMetaEncoding...
d pr 10i 0 extproc('htmlSetMetaEncoding')
d doc value like(htmlDocPtr)
d encoding * value options(*string) const xmlChar *
/if defined(LIBXML_OUTPUT_ENABLED)
d htmlDocDumpMemory...
d pr extproc('htmlDocDumpMemory')
d cur value like(xmlDocPtr)
d mem * value xmlChar * *
d size 10i 0
d htmlDocDumpMemoryFormat...
d pr extproc('htmlDocDumpMemoryFormat')
d cur value like(xmlDocPtr)
d mem * value xmlChar * *
d size 10i 0
d format 10i 0 value
d htmlDocDump pr 10i 0 extproc('htmlDocDump')
d f * value FILE *
d cur value like(xmlDocPtr)
d htmlSaveFile pr 10i 0 extproc('htmlSaveFile')
d filename * value options(*string) const char *
d cur value like(xmlDocPtr)
d htmlNodeDump pr 10i 0 extproc('htmlNodeDump')
d buf value like(xmlBufferPtr)
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d htmlNodeDumpFile...
d pr extproc('htmlNodeDumpFile')
d out * value FILE *
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d htmlNodeDumpFileFormat...
d pr 10i 0 extproc('htmlNodeDumpFileFormat')
d out * value FILE *
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d encoding * value options(*string) const char *
d format 10i 0 value
d htmlSaveFileEnc...
d pr 10i 0 extproc('htmlSaveFileEnc')
d filename * value options(*string) const char *
d cur value like(xmlDocPtr)
d encoding * value options(*string) const char *
d htmlSaveFileFormat...
d pr 10i 0 extproc('htmlSaveFileFormat')
d filename * value options(*string) const char *
d cur value like(xmlDocPtr)
d encoding * value options(*string) const char *
d format 10i 0 value
d htmlNodeDumpFormatOutput...
d pr extproc('htmlNodeDumpFormatOutput')
d buf value like(xmlOutputBufferPtr)
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d encoding * value options(*string) const char *
d format 10i 0 value
d htmlDocContentDumpOutput...
d pr extproc('htmlDocContentDumpOutput')
d buf value like(xmlOutputBufferPtr)
d cur value like(xmlDocPtr)
d encoding * value options(*string) const char *
d htmlDocContentDumpFormatOutput...
d pr extproc(
d 'htmlDocContentDumpFormatOutput')
d buf value like(xmlOutputBufferPtr)
d cur value like(xmlDocPtr)
d encoding * value options(*string) const char *
d format 10i 0 value
d htmlNodeDumpOutput...
d pr extproc('htmlNodeDumpOutput')
d buf value like(xmlOutputBufferPtr)
d doc value like(xmlDocPtr)
d cur value like(xmlNodePtr)
d encoding * value options(*string) const char *
/endif LIBXML_OUTPUT_ENABLD
d htmlIsBooleanAttr...
d pr 10i 0 extproc('htmlIsBooleanAttr')
d name * value options(*string) const xmlChar *
/endif LIBXML_HTML_ENABLED
/endif HTML_TREE_H__
This diff is collapsed.
This diff is collapsed.
* Summary: Provide Canonical XML and Exclusive XML Canonicalization
* Description: the c14n modules provides a
*
* "Canonical XML" implementation
* http://www.w3.org/TR/xml-c14n
*
* and an
*
* "Exclusive XML Canonicalization" implementation
* http://www.w3.org/TR/xml-exc-c14n
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_C14N_H__)
/define XML_C14N_H__
/include "libxmlrpg/xmlversion"
/if defined(LIBXML_C14N_ENABLED)
/if defined(LIBXML_OUTPUT_ENABLED)
/include "libxmlrpg/tree"
/include "libxmlrpg/xpath"
* XML Canonicazation
* http://www.w3.org/TR/xml-c14n
*
* Exclusive XML Canonicazation
* http://www.w3.org/TR/xml-exc-c14n
*
* Canonical form of an XML document could be created if and only if
* a) default attributes (if any) are added to all nodes
* b) all character and parsed entity references are resolved
* In order to achive this in libxml2 the document MUST be loaded with
* following global setings:
*
* xmlLoadExtDtdDefaultValue = XML_DETECT_IDS XML_COMPLETE_ATTRS;
* xmlSubstituteEntitiesDefault(1);
*
* or corresponding parser context setting:
* xmlParserCtxtPtr ctxt;
*
* ...
* ctxt->loadsubset = XML_DETECT_IDS XML_COMPLETE_ATTRS;
* ctxt->replaceEntities = 1;
* ...
* xmlC14NMode:
*
* Predefined values for C14N modes
d xmlBufferAllocationScheme...
d xmlC14NMode s 10i 0 based(######typedef######) enum
d XML_C14N_1_0 c 0 Original C14N 1.0
d XML_C14N_EXCLUSIVE_1_0... Exclusive C14N 1.0
d c 1
d XML_C14N_1_1 c 2 C14N 1.1 spec
d xmlC14NDocSaveTo...
d pr 10i 0 extproc('xmlC14NDocSaveTo')
d doc value like(xmlDocPtr)
d nodes value like(xmlNodeSetPtr)
d mode 10i 0 value
d inclusive_ns_prefixes...
d * xmlChar *(*)
d with_comments 10i 0 value
d buf value like(xmlOutputBufferPtr)
d xmlC14NDocDumpMemory...
d pr 10i 0 extproc('xmlC14NDocDumpMemory')
d doc value like(xmlDocPtr)
d nodes value like(xmlNodeSetPtr)
d mode 10i 0 value
d inclusive_ns_prefixes...
d * xmlChar *(*)
d with_comments 10i 0 value
d doc_txt_ptr * xmlChar *(*)
d xmlC14NDocSave pr 10i 0 extproc('xmlC14NDocSave')
d doc value like(xmlDocPtr)
d nodes value like(xmlNodeSetPtr)
d mode 10i 0 value
d inclusive_ns_prefixes...
d * xmlChar *(*)
d with_comments 10i 0 value
d filename * value options(*string) const char *
d compression 10i 0 value
* This is the core C14N function
* xmlC14NIsVisibleCallback:
* @user_data: user data
* @node: the curent node
* @parent: the parent node
*
* Signature for a C14N callback on visible nodes
*
* Returns 1 if the node should be included
d xmlC14NIsVisibleCallback...
d s * based(######typedef######)
d procptr
d xmlC14NExecute pr 10i 0 extproc('xmlC14NExecute')
d doc value like(xmlDocPtr)
d is_visible_callback...
d value like(xmlC14NIsVisibleCallback)
d user_data * value void *
d mode 10i 0 value
d inclusive_ns_prefixes...
d * xmlChar *(*)
d with_comments 10i 0 value
d buf value like(xmlOutputBufferPtr)
/endif LIBXML_OUTPUT_ENABLD
/endif LIBXML_C14N_ENABLED
/endif XML_C14N_H__
This diff is collapsed.
* Summary: Unicode character range checking
* Description: this module exports interfaces for the character
* range validation APIs
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_CHVALID_H__)
/define XML_CHVALID_H__
/include "libxmlrpg/xmlversion"
/include "libxmlrpg/xmlstring"
* Define our typedefs and structures
d xmlChSRangePtr s * based(######typedef######)
d xmlChSRange ds based(xmlChSRangePtr)
d align qualified
d low 5u 0
d high 5u 0
d xmlChLRangePtr s * based(######typedef######)
d xmlChLRange ds based(xmlChLRangePtr)
d align qualified
d low 10u 0
d high 10u 0
d xmlChRangeGroupPtr...
d s * based(######typedef######)
d xmlChRangeGroup...
d ds based(xmlChRangeGroupPtr)
d align qualified
d nbShortRange 10i 0
d nbLongRange 10i 0
d shortRange like(xmlChSRangePtr)
d longRange like(xmlChLRangePtr)
* Range checking routine
d xmlCharInRange pr 10i 0 extproc('xmlCharInRange')
d val 10u 0 value
d group like(xmlChRangeGroupPtr) const
d xmlIsBaseCharGroup...
d ds import('xmlIsBaseCharGroup')
d likeds(xmlChRangeGroup) const
d xmlIsCharGroup...
d ds import('xmlIsCharGroup')
d likeds(xmlChRangeGroup) const
d xmlIsCombiningGroup...
d ds import('xmlIsCombiningGroup')
d likeds(xmlChRangeGroup) const
d xmlIsDigitGroup...
d ds import('xmlIsDigitGroup')
d likeds(xmlChRangeGroup) const
d xmlIsExtenderGroup...
d ds import('xmlIsExtenderGroup')
d likeds(xmlChRangeGroup) const
d xmlIsIdeographicGroup...
d ds import('xmlIsIdeographicGroup')
d likeds(xmlChRangeGroup) const
d xmlIsBaseChar pr 10i 0 extproc('xmlIsBaseChar')
d ch 10u 0 value
d xmlIsBlank pr 10i 0 extproc('xmlIsBlank')
d ch 10u 0 value
d xmlIsChar pr 10i 0 extproc('xmlIsChar')
d ch 10u 0 value
d xmlIsCombining pr 10i 0 extproc('xmlIsCombining')
d ch 10u 0 value
d xmlIsDigit pr 10i 0 extproc('xmlIsDigit')
d ch 10u 0 value
d xmlIsExtender pr 10i 0 extproc('xmlIsExtender')
d ch 10u 0 value
d xmlIsIdeographic...
d pr 10i 0 extproc('xmlIsIdeographic')
d ch 10u 0 value
d xmlIsPubidChar pr 10i 0 extproc('xmlIsPubidChar')
d ch 10u 0 value
/endif XML_CHVALID_H__
This diff is collapsed.
* Summary: string dictionary
* Description: dictionary of reusable strings, just used to avoid
* allocation and freeing operations.
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_DICT_H__)
/define XML_DICT_H__
/include "libxmlrpg/xmlversion"
/include "libxmlrpg/tree"
* The dictionary.
d xmlDictPtr s * based(######typedef######)
* Initializer
d xmlInitializeDict...
d pr 10i 0 extproc('xmlInitializeDict')
* Constructor and destructor.
d xmlDictCreate pr extproc('xmlDictCreate')
d like(xmlDictPtr)
d xmlDictSetLimit...
d pr 10u 0 extproc('xmlDictSetLimit') size_t
d dict value like(xmlDictPtr)
d limit 10u 0 value size_t
d xmlDictGetUsage...
d pr 10u 0 extproc('xmlDictGetUsage') size_t
d dict value like(xmlDictPtr)
d xmlDictCreateSub...
d pr extproc('xmlDictCreateSub')
d like(xmlDictPtr)
d sub value like(xmlDictPtr)
d xmlDictReference...
d pr 10i 0 extproc('xmlDictGetReference')
d dict value like(xmlDictPtr)
d xmlDictFree pr extproc('xmlDictFree')
d dict value like(xmlDictPtr)
* Lookup of entry in the dictionary.
d xmlDictLookup pr * extproc('xmlDictLookup') const xmlChar *
d dict value like(xmlDictPtr)
d name * value options(*string) const xmlChar *
d len 10i 0 value
d xmlDictExists pr * extproc('xmlDictExists') const xmlChar *
d dict value like(xmlDictPtr)
d name * value options(*string) const xmlChar *
d len 10i 0 value
d xmlDictQLookup pr * extproc('xmlDictQLookup') const xmlChar *
d dict value like(xmlDictPtr)
d name * value options(*string) const xmlChar *
d name * value options(*string) const xmlChar *
d xmlDictOwns pr 10i 0 extproc('xmlDictOwns')
d dict value like(xmlDictPtr)
d str * value options(*string) const xmlChar *
d xmlDictSize pr 10i 0 extproc('xmlDictSize')
d dict value like(xmlDictPtr)
* Cleanup function
d xmlDictCleanup pr extproc('xmlDictCleanup')
/endif ! XML_DICT_H__
This diff is collapsed.
* Summary: interface for the XML entities handling
* Description: this module provides some of the entity API needed
* for the parser and applications.
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_ENTITIES_H__)
/define XML_ENTITIES_H__
/include "libxmlrpg/xmlversion"
/include "libxmlrpg/tree"
* The different valid entity types.
d xmlEntityType s 10i 0 based(######typedef######) enum
d XML_INTERNAL_GENERAL_ENTITY...
d c 1
d XML_EXTERNAL_GENERAL_PARSED_ENTITY...
d c 2
d XML_EXTERNAL_GENERAL_UNPARSED_ENTITY...
d c 3
d XML_INTERNAL_PARAMETER_ENTITY...
d c 4
d XML_EXTERNAL_PARAMETER_ENTITY...
d c 5
d XML_INTERNAL_PREDEFINED_ENTITY...
d c 6
* An unit of storage for an entity, contains the string, the value
* and the linkind data needed for the linking in the hash table.
d xmlEntity ds based(xmlEntityPtr)
d align qualified
d #private * void *
d type like(xmlElementType) XML_ENTITY_DECL
d name * const xmlChar *
d children like(xmlNodePtr) First child link
d last like(xmlNodePtr) Last child link
d parent like(xmlDtdPtr) -> DTD
d next like(xmlNodePtr) next sibling link
d prev like(xmlNodePtr) prev sibling link
d doc like(xmlDocPtr) containing document
d orig * xmlChar *
d content * xmlChar *
d length 10i 0 content length
d etype like(xmlEntityType) The entity type
d ExternalID * const xmlChar *
d SystemlID * const xmlChar *
d nexte like(xmlEntityPtr) unused
d URI * const xmlChar *
d owner 10i 0 Owns children ?
d checked 10i 0 Content checked ?
* All entities are stored in an hash table.
* There is 2 separate hash tables for global and parameter entities.
d xmlEntitiesTablePtr...
d s * based(######typedef######)
* External functions:
/if defined(LIBXML_LEGACY_ENABLED)
d xmlInitializePredefinedEntities...
d pr extproc(
d 'xmlInitializePredefinedEntities')
/endif LIBXML_LEGACY_ENABLD
d xmlNewEntity pr extproc('xmlNewEntity')
d like(xmlEntityPtr)
d doc value like(xmlDocPtr)
d name * value options(*string) const xmlChar *
d type 10i 0 value
d ExternalID * value options(*string) const xmlChar *
d SystemID * value options(*string) const xmlChar *
d content * value options(*string) const xmlChar *
d xmlAddDocEntity...
d pr extproc('xmlAddDocEntity')
d like(xmlEntityPtr)
d doc value like(xmlDocPtr)
d name * value options(*string) const xmlChar *
d type 10i 0 value
d ExternalID * value options(*string) const xmlChar *
d SystemID * value options(*string) const xmlChar *
d content * value options(*string) const xmlChar *
d xmlAddDtdEntity...
d pr extproc('xmlAddDtdEntity')
d like(xmlEntityPtr)
d doc value like(xmlDocPtr)
d name * value options(*string) const xmlChar *
d type 10i 0 value
d ExternalID * value options(*string) const xmlChar *
d SystemID * value options(*string) const xmlChar *
d content * value options(*string) const xmlChar *
d xmlGetPredefinedEntity...
d pr extproc('xmlGetPredefinedEntity')
d like(xmlEntityPtr)
d name * value options(*string) const xmlChar *
d xmlGetDocEntity...
d pr extproc('xmlGetDocEntity')
d like(xmlEntityPtr)
d doc value like(xmlDocPtr)
d name * value options(*string) const xmlChar *
d xmlGetDtdEntity...
d pr extproc('xmlGetDtdEntity')
d like(xmlEntityPtr)
d doc value like(xmlDocPtr)
d name * value options(*string) const xmlChar *
d xmlGetParameterEntity...
d pr extproc('xmlGetParameterEntity')
d like(xmlEntityPtr)
d doc value like(xmlDocPtr)
d name * value options(*string) const xmlChar *
/if defined(LIBXML_LEGACY_ENABLED)
d xmlEncodeEntities...
d pr * extproc('xmlEncodeEntities') xmlChar *
d doc value like(xmlDocPtr)
d input * value options(*string) const xmlChar *
/endif LIBXML_LEGACY_ENABLD
d xmlEncodeEntitiesReentrant...
d pr * extproc( xmlChar *
d 'xmlEncodeEntitiesReentrant')
d doc value like(xmlDocPtr)
d input * value options(*string) const xmlChar *
XMLPU
d xmlEncodeSpecialChars...
d pr * extproc('xmlSpecialChars') xmlChar *
d doc value like(xmlDocPtr)
d input * value options(*string) const xmlChar *
XMLPU
d xmlCreateEntitiesTable...
d pr extproc('xmlCreateEntitiesTable')
d like(xmlEntitiesTablePtr)
/if defined(LIBXML_TREE_ENABLED)
d xmlCopyEntitiesTable...
d pr extproc('xmlCopyEntitiesTable')
d like(xmlEntitiesTablePtr)
d table value like(xmlEntitiesTablePtr)
/endif LIBXML_TREE_ENABLED
d xmlFreeEntitiesTable...
d pr extproc('xmlFreeEntitiesTable')
d table value like(xmlEntitiesTablePtr)
XMLPU
/if defined(LIBXML_OUTPUT_ENABLED)
d xmlDumpEntitiesTable...