Tag
Hash :
e083c30e
Author :
Date :
2014-03-04T17:18:26
OS400: ILE RPG language header files.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
* Summary: unfinished XLink detection module
* Description: unfinished XLink detection module
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_XLINK_H__)
/define XML_XLINK_H__
/include "libxmlrpg/xmlversion"
/include "libxmlrpg/tree"
/if defined(LIBXML_XPTR_ENABLED)
* Various defines for the various Link properties.
*
* NOTE: the link detection layer will try to resolve QName expansion
* of namespaces. If "foo" is the prefix for "http://foo.com/"
* then the link detection layer will expand role="foo:myrole"
* to "http://foo.com/:myrole".
* NOTE: the link detection layer will expand URI-Refences found on
* href attributes by using the base mechanism if found.
d xlinkRef s * based(######typedef######) xmlChar *
d xlinkRole s * based(######typedef######) xmlChar *
d xlinkTitle s * based(######typedef######) xmlChar *
d xlinkType s 10i 0 based(######typedef######) enum
d XLINK_TYPE_NONE...
d c 0
d XLINK_TYPE_SIMPLE...
d c 1
d XLINK_TYPE_EXTENDED...
d c 2
d XLINK_TYPE_EXTENDED_SET...
d c 3
d xlinkShow s 10i 0 based(######typedef######) enum
d XLINK_SHOW_NONE...
d c 0
d XLINK_SHOW_NEW...
d c 1
d XLINK_SHOW_EMBED...
d c 2
d XLINK_SHOW_REPLACE...
d c 3
d xlinkActuate s 10i 0 based(######typedef######) enum
d XLINK_ACTUATE_NONE...
d c 0
d XLINK_ACTUATE_AUTO...
d c 1
d XLINK_ACTUATE_ONREQUEST...
d c 2
* xlinkNodeDetectFunc:
* @ctx: user data pointer
* @node: the node to check
*
* This is the prototype for the link detection routine.
* It calls the default link detection callbacks upon link detection.
d xlinkNodeDetectFunc...
d s * based(######typedef######)
d procptr
* The link detection module interact with the upper layers using
* a set of callback registered at parsing time.
* xlinkSimpleLinkFunk:
* @ctx: user data pointer
* @node: the node carrying the link
* @href: the target of the link
* @role: the role string
* @title: the link title
*
* This is the prototype for a simple link detection callback.
d xlinkSimpleLinkFunk...
d s * based(######typedef######)
d procptr
* xlinkExtendedLinkFunk:
* @ctx: user data pointer
* @node: the node carrying the link
* @nbLocators: the number of locators detected on the link
* @hrefs: pointer to the array of locator hrefs
* @roles: pointer to the array of locator roles
* @nbArcs: the number of arcs detected on the link
* @from: pointer to the array of source roles found on the arcs
* @to: pointer to the array of target roles found on the arcs
* @show: array of values for the show attributes found on the arcs
* @actuate: array of values for the actuate attributes found on the arcs
* @nbTitles: the number of titles detected on the link
* @title: array of titles detected on the link
* @langs: array of xml:lang values for the titles
*
* This is the prototype for a extended link detection callback.
d xlinkExtendedLinkFunk...
d s * based(######typedef######)
d procptr
* xlinkExtendedLinkSetFunk:
* @ctx: user data pointer
* @node: the node carrying the link
* @nbLocators: the number of locators detected on the link
* @hrefs: pointer to the array of locator hrefs
* @roles: pointer to the array of locator roles
* @nbTitles: the number of titles detected on the link
* @title: array of titles detected on the link
* @langs: array of xml:lang values for the titles
*
* This is the prototype for a extended link set detection callback.
d xlinkExtendedLinkSetFunk...
d s * based(######typedef######)
d procptr
* This is the structure containing a set of Links detection callbacks.
*
* There is no default xlink callbacks, if one want to get link
* recognition activated, those call backs must be provided before parsing.
d xlinkHandlerPtr...
d s * based(######typedef######) xmlChar *
d xlinkHandler ds based(xlinkHandlerPtr)
d align qualified
d simple like(xlinkSimpleLinkFunk)
d extended like(xlinkExtendedLinkFunk)
d set like(xlinkExtendedLinkSetFunk)
* The default detection routine, can be overridden, they call the default
* detection callbacks.
d xlinkGetDefaultDetect...
d pr extproc('xlinkGetDefaultDetect')
d like(xlinkNodeDetectFunc)
d xlinkSetDefaultDetect...
d pr extproc('xlinkSetDefaultDetect')
d func value like(xlinkNodeDetectFunc)
* Routines to set/get the default handlers.
d xlinkGetDefaultHandler...
d pr extproc('xlinkGetDefaultHandler')
d like(xlinkHandlerPtr)
d xlinkSetDefaultHandler...
d pr extproc('xlinkSetDefaultHandler')
d handler value like(xlinkHandlerPtr)
* Link detection module itself.
d xlinkIsLink pr extproc('xlinkIsLink')
d like(xlinkType)
d doc value like(xmlDocPtr)
d node value like(xmlNodePtr)
/endif LIBXML_XPTR_ENABLED
/endif XML_XLINK_H__