1 * Summary: library of generic URI related routines
2 * Description: library of generic URI related routines
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_URI_H__)
12 /include "libxmlrpg/xmlversion"
13 /include "libxmlrpg/xmlTypesC"
14 /include "libxmlrpg/tree"
18 * A parsed URI reference. This is a struct containing the various fields
19 * as described in RFC 2396 but separated for further processing.
21 * Note: query is a deprecated field which is incorrectly unescaped.
22 * query_raw takes precedence over query if the former is set.
23 * See: http://mail.gnome.org/archives/xml/2007-April/thread.html#00127
25 d xmlURIPtr s * based(######typedef######)
27 d xmlURI ds based(xmlURIPtr)
38 d cleanup like(xmlCint)
41 d xmlCreateURI pr extproc('xmlCreateURI')
44 d xmlBuildURI pr * extproc('xmlBuildURI') xmlChar *
45 d URI * value options(*string) const xmlChar *
46 d base * value options(*string) const xmlChar *
48 d xmlBuildRelativeURI...
49 d pr * extproc('xmlBuildRelativeURI') xmlChar *
50 d URI * value options(*string) const xmlChar *
51 d base * value options(*string) const xmlChar *
53 d xmlParseURI pr extproc('xmlParseURI')
55 d str * value options(*string) const char *
57 d xmlParseURIRaw pr extproc('xmlParseURIRaw')
59 d str * value options(*string) const char *
60 d raw value like(xmlCint)
62 d xmlParseURIReference...
63 d pr extproc('xmlParseURIReference')
65 d uri value like(xmlURIPtr)
66 d str * value options(*string) const char *
68 d xmlSaveUri pr * extproc('xmlSaveUri') xmlChar *
69 d uri value like(xmlURIPtr)
71 d xmlPrintURI pr extproc('xmlPrintURI')
72 d stream * value FILE *
73 d uri value like(xmlURIPtr)
76 d pr * extproc('xmlURIEscapeStr') xmlChar *
77 d str * value options(*string) const xmlChar *
78 d list * value options(*string) const xmlChar *
80 d xmlURIUnescapeString...
81 d pr * extproc('xmlURIUnescapeString') char *
82 d str * value options(*string) const char *
83 d len value like(xmlCint)
84 d target * value options(*string) char *
86 d xmlNormalizeURIPath...
87 d pr extproc('xmlNormalizeURIPath')
89 d path * value options(*string) char *
91 d xmlURIEscape pr * extproc('xmlURIEscape') xmlChar *
92 d str * value options(*string) const xmlChar *
94 d xmlFreeURI pr extproc('xmlFreeURI')
95 d uri value like(xmlURIPtr)
97 d xmlCanonicPath pr * extproc('xmlCanonicPath') xmlChar *
98 d path * value options(*string) const xmlChar *
100 d xmlPathToURI pr * extproc('xmlPathToURI') xmlChar *
101 d path * value options(*string) const xmlChar *