Tag
Hash :
22b0415a
Author :
Date :
2015-04-16T16:04:06
os400: fix various ILE/RPG types definitions. Adjust build scripts.
- A typo caused an undefined symbol reference.
- A structure field name did not match the corresponding C name due to a typo.
- Some structured fields were not properly aligned.
- The long/ulong types were wrongly mapped to 64-bit types.
- A typo in a /include directive caused a compilation error.
- Doc files copy now converts from UTF-8 and split long lines.
- Adjust /include file name mapping translation for proper prefix handling.
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 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
* Summary: XML Schemastron implementation
* Description: interface to the XML Schematron validity checking.
*
* Copy: See Copyright for the status of this software.
*
* Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
/if not defined(XML_SCHEMATRON_H__)
/define XML_SCHEMATRON_H__
/include "libxmlrpg/xmlversion"
/if defined(LIBXML_SCHEMATRON_ENABLED)
/include "libxmlrpg/tree"
d xmlSchematronValidOptions...
d s 10i 0 based(######typedef######) enum
d XML_SCHEMATRON_OUT_QUIET... Quiet no report
d c X'0001'
d XML_SCHEMATRON_OUT_TEXT... Build textual report
d c X'0002'
d XML_SCHEMATRON_OUT_XML... Output SVRL
d c X'0004'
d XML_SCHEMATRON_OUT_ERROR... Output to error func
d c X'0008'
d XML_SCHEMATRON_OUT_FILE... Output to file descr
d c X'0100'
d XML_SCHEMATRON_OUT_BUFFER... Output to a buffer
d c X'0200'
d XML_SCHEMATRON_OUT_IO... Output to I/O mech
d c X'0400'
* The schemas related types are kept internal
d xmlSchematronPtr...
d s * based(######typedef######)
* xmlSchematronValidityErrorFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of an error callback from a Schematron validation
d xmlSchematronValidityErrorFunc...
d s * based(######typedef######)
d procptr
* xmlSchematronValidityWarningFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of a warning callback from a Schematron validation
d xmlSchematronValidityWarningFunc...
d s * based(######typedef######)
d procptr
* A schemas validation context
d xmlSchematronParserCtxtPtr...
d s * based(######typedef######)
d xmlSchematronValidCtxtPtr...
d s * based(######typedef######)
* Interfaces for parsing.
d xmlSchematronNewParserCtxt...
d pr extproc('xmlSchematronNewParserCtxt')
d like(xmlSchematronParserCtxtPtr)
d URL * value options(*string) const char *
d xmlSchematronNewMemParserCtxt...
d pr extproc(
d 'xmlSchematronNewMemParserCtxt')
d like(xmlSchematronParserCtxtPtr)
d buffer * value options(*string) const char *
d size 10i 0 value
d xmlSchematronNewDocParserCtxt...
d pr extproc(
d 'xmlSchematronNewDocParserCtxt')
d like(xmlSchematronParserCtxtPtr)
d doc value like(xmlDocPtr)
d xmlSchematronFreeParserCtxt...
d pr extproc(
d 'xmlSchematronFreeParserCtxt')
d ctxt value
d like(xmlSchematronParserCtxtPtr)
/if defined(DISABLED)
d xmlSchematronSetParserErrors...
d pr extproc(
d 'xmlSchematronSetParserErrors')
d ctxt value
d like(xmlSchematronParserCtxtPtr)
d err value
d like(xmlSchematronValidityErrorFunc)
d warn value like(
d xmlSchematronValidityWarningFunc)
d ctx * value void *
d xmlSchematronGetParserErrors...
d pr 10i 0 extproc(
d 'xmlSchematronGetParserErrors')
d ctxt value
d like(xmlSchematronParserCtxtPtr)
d err like(xmlSchematronValidityErrorFunc)
d warn like(
d xmlSchematronValidityWarningFunc)
d ctx * void *(*)
d xmlSchematronIsValid...
d pr 10i 0 extproc('xmlSchematronIsValid')
d ctxt value like(xmlSchematronValidCtxtPtr)
/endif
d xmlSchematronParse...
d pr extproc('xmlSchematronParse')
d like(xmlSchematronPtr)
d ctxt value
d like(xmlSchematronParserCtxtPtr)
d xmlSchematronFree...
d pr extproc('xmlSchematronFree')
d schema value like(xmlSchematronPtr)
* Interfaces for validating
d xmlSchematronSetValidStructuredErrors...
d pr extproc('xmlSchematronSetValidStruct-
d uredErrors')
d ctxt value like(xmlSchematronValidCtxtPtr)
d serror value like(xmlStructuredErrorFunc)
d ctx * value void *
/if defined(DISABLED)
d xmlSchematronSetValidErrors...
d pr extproc(
d 'xmlSchematronSetValidErrors')
d ctxt value like(xmlSchematronValidCtxtPtr)
d err value
d like(xmlSchematronValidityErrorFunc)
d warn value like(
d xmlSchematronValidityWarningFunc)
d ctx * value void *
d xmlSchematronGetValidErrors...
d pr 10i 0 extproc(
d 'xmlSchematronGetValidErrors')
d ctxt value like(xmlSchematronValidCtxtPtr)
d err like(xmlSchematronValidityErrorFunc)
d warn like(
d xmlSchematronValidityWarningFunc)
d ctx * void *(*)
d xmlSchematronSetValidOptions...
d pr 10i 0 extproc(
d 'xmlSchematronSetValidOptions')
d ctxt value like(xmlSchematronValidCtxtPtr)
d options 10i 0 value
d xmlSchematronValidCtxtGetOptions...
d pr 10i 0 extproc(
d 'xmlSchematronValidCtxtGetOptions')
d ctxt value like(xmlSchematronValidCtxtPtr)
d xmlSchematronValidateOneElement...
d pr 10i 0 extproc(
d 'xmlSchematronValidateOneElement')
d ctxt value like(xmlSchematronValidCtxtPtr)
d elem value like(xmlNodePtr)
/endif
d xmlSchematronNewValidCtxt...
d pr extproc('xmlSchematronNewValidCtxt')
d like(xmlSchematronValidCtxtPtr)
d schema value like(xmlSchematronPtr)
d options 10i 0 value
d xmlSchematronFreeValidCtxt...
d pr extproc('xmlSchematronFreeValidCtxt')
d ctxt value like(xmlSchematronValidCtxtPtr)
d xmlSchematronValidateDoc...
d pr 10i 0 extproc('xmlSchematronValidateDoc')
d ctxt value like(xmlSchematronValidCtxtPtr)
d instance value like(xmlDocPtr)
/endif _SCHEMATRON_ENABLED
/endif XML_SCHEMATRON_H__