2 * Summary: library of generic URI related routines
3 * Description: library of generic URI related routines
6 * Copy: See Copyright for the status of this software.
8 * Author: Daniel Veillard
9 * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
20 #include <stdapis/libxml2/libxml2_xmlstring.h>
29 * A parsed URI reference. This is a struct containing the various fields
30 * as described in RFC 2396 but separated for further processing.
32 typedef struct _xmlURI xmlURI;
33 typedef xmlURI *xmlURIPtr;
35 char *scheme; /* the URI scheme */
36 char *opaque; /* opaque part */
37 char *authority; /* the authority part */
38 char *server; /* the server part */
39 char *user; /* the user part */
40 int port; /* the port number */
41 char *path; /* the path string */
42 char *query; /* the query string */
43 char *fragment; /* the fragment identifier */
44 int cleanup; /* parsing potentially unclean URI */
48 * This function is in tree.h:
49 * xmlChar * xmlNodeGetBase (xmlDocPtr doc,
52 XMLPUBFUN xmlURIPtr XMLCALL
54 XMLPUBFUN xmlChar * XMLCALL
55 xmlBuildURI (const xmlChar *URI,
57 XMLPUBFUN xmlURIPtr XMLCALL
58 xmlParseURI (const char *str);
60 xmlParseURIReference (xmlURIPtr uri,
62 XMLPUBFUN xmlChar * XMLCALL
63 xmlSaveUri (xmlURIPtr uri);
65 #ifndef XMLENGINE_EXCLUDE_FILE_FUNC
66 XMLPUBFUN void XMLCALL
67 xmlPrintURI (FILE *stream,
71 XMLPUBFUN xmlChar * XMLCALL
72 xmlURIEscapeStr (const xmlChar *str,
74 XMLPUBFUN char * XMLCALL
75 xmlURIUnescapeString (const char *str,
79 xmlNormalizeURIPath (char *path);
80 XMLPUBFUN xmlChar * XMLCALL
81 xmlURIEscape (const xmlChar *str);
82 XMLPUBFUN void XMLCALL
83 xmlFreeURI (xmlURIPtr uri);
84 XMLPUBFUN xmlChar* XMLCALL
85 xmlCanonicPath (const xmlChar *path);
90 #endif /* XML_URI_H */