1 * Summary: Unicode character range checking
2 * Description: this module exports interfaces for the character
3 * range validation APIs
5 * Copy: See Copyright for the status of this software.
7 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
9 /if not defined(XML_CHVALID_H__)
10 /define XML_CHVALID_H__
12 /include "libxmlrpg/xmlversion"
13 /include "libxmlrpg/xmlstring"
15 * Define our typedefs and structures
17 d xmlChSRangePtr s * based(######typedef######)
19 d xmlChSRange ds based(xmlChSRangePtr)
24 d xmlChLRangePtr s * based(######typedef######)
26 d xmlChLRange ds based(xmlChLRangePtr)
31 d xmlChRangeGroupPtr...
32 d s * based(######typedef######)
35 d ds based(xmlChRangeGroupPtr)
39 d shortRange like(xmlChSRangePtr)
40 d longRange like(xmlChLRangePtr)
42 * Range checking routine
44 d xmlCharInRange pr 10i 0 extproc('xmlCharInRange')
46 d group like(xmlChRangeGroupPtr) const
48 d xmlIsBaseCharGroup...
49 d ds import('xmlIsBaseCharGroup')
50 d likeds(xmlChRangeGroup) const
53 d ds import('xmlIsCharGroup')
54 d likeds(xmlChRangeGroup) const
56 d xmlIsCombiningGroup...
57 d ds import('xmlIsCombiningGroup')
58 d likeds(xmlChRangeGroup) const
61 d ds import('xmlIsDigitGroup')
62 d likeds(xmlChRangeGroup) const
64 d xmlIsExtenderGroup...
65 d ds import('xmlIsExtenderGroup')
66 d likeds(xmlChRangeGroup) const
68 d xmlIsIdeographicGroup...
69 d ds import('xmlIsIdeographicGroup')
70 d likeds(xmlChRangeGroup) const
72 d xmlIsBaseChar pr 10i 0 extproc('xmlIsBaseChar')
75 d xmlIsBlank pr 10i 0 extproc('xmlIsBlank')
78 d xmlIsChar pr 10i 0 extproc('xmlIsChar')
81 d xmlIsCombining pr 10i 0 extproc('xmlIsCombining')
84 d xmlIsDigit pr 10i 0 extproc('xmlIsDigit')
87 d xmlIsExtender pr 10i 0 extproc('xmlIsExtender')
91 d pr 10i 0 extproc('xmlIsIdeographic')
94 d xmlIsPubidChar pr 10i 0 extproc('xmlIsPubidChar')
97 /endif XML_CHVALID_H__