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/tree"
17 * A parsed URI reference. This is a struct containing the various fields
18 * as described in RFC 2396 but separated for further processing.
20 * Note: query is a deprecated field which is incorrectly unescaped.
21 * query_raw takes precedence over query if the former is set.
22 * See: http://mail.gnome.org/archives/xml/2007-April/thread.html#00127
24 d xmlURIPtr s * based(######typedef######)
26 d xmlURI ds based(xmlURIPtr)
40 d xmlCreateURI pr extproc('xmlCreateURI')
43 d xmlBuildURI pr * extproc('xmlBuildURI') xmlChar *
44 d URI * value options(*string) const xmlChar *
45 d base * value options(*string) const xmlChar *
47 d xmlBuildRelativeURI...
48 d pr * extproc('xmlBuildRelativeURI') xmlChar *
49 d URI * value options(*string) const xmlChar *
50 d base * value options(*string) const xmlChar *
52 d xmlParseURI pr extproc('xmlParseURI')
54 d str * value options(*string) const char *
56 d xmlParseURIRaw pr extproc('xmlParseURIRaw')
58 d str * value options(*string) const char *
61 d xmlParseURIReference...
62 d pr 10i 0 extproc('xmlParseURIReference')
63 d uri value like(xmlURIPtr)
64 d str * value options(*string) const char *
66 d xmlSaveUri pr * extproc('xmlSaveUri') xmlChar *
67 d uri value like(xmlURIPtr)
69 d xmlPrintURI pr extproc('xmlPrintURI')
70 d stream * value FILE *
71 d uri value like(xmlURIPtr)
74 d pr * extproc('xmlURIEscapeStr') xmlChar *
75 d str * value options(*string) const xmlChar *
76 d list * value options(*string) const xmlChar *
78 d xmlURIUnescapeString...
79 d pr * extproc('xmlURIUnescapeString') char *
80 d str * value options(*string) const char *
82 d target * value options(*string) char *
84 d xmlNormalizeURIPath...
85 d pr 10i 0 extproc('xmlNormalizeURIPath')
86 d path * value options(*string) char *
88 d xmlURIEscape pr * extproc('xmlURIEscape') xmlChar *
89 d str * value options(*string) const xmlChar *
91 d xmlFreeURI pr extproc('xmlFreeURI')
92 d uri value like(xmlURIPtr)
94 d xmlCanonicPath pr * extproc('xmlCanonicPath') xmlChar *
95 d path * value options(*string) const xmlChar *
97 d xmlPathToURI pr * extproc('xmlPathToURI') xmlChar *
98 d path * value options(*string) const xmlChar *