ReactOS  0.4.15-dev-1392-g3014417
uri.h
Go to the documentation of this file.
1 
11 #ifndef __XML_URI_H__
12 #define __XML_URI_H__
13 
14 #include <libxml/xmlversion.h>
15 #include <libxml/tree.h>
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
31 typedef struct _xmlURI xmlURI;
32 typedef xmlURI *xmlURIPtr;
33 struct _xmlURI {
34  char *scheme; /* the URI scheme */
35  char *opaque; /* opaque part */
36  char *authority; /* the authority part */
37  char *server; /* the server part */
38  char *user; /* the user part */
39  int port; /* the port number */
40  char *path; /* the path string */
41  char *query; /* the query string (deprecated - use with caution) */
42  char *fragment; /* the fragment identifier */
43  int cleanup; /* parsing potentially unclean URI */
44  char *query_raw; /* the query string (as it appears in the URI) */
45 };
46 
47 /*
48  * This function is in tree.h:
49  * xmlChar * xmlNodeGetBase (xmlDocPtr doc,
50  * xmlNodePtr cur);
51  */
53  xmlCreateURI (void);
55  xmlBuildURI (const xmlChar *URI,
56  const xmlChar *base);
58  xmlBuildRelativeURI (const xmlChar *URI,
59  const xmlChar *base);
61  xmlParseURI (const char *str);
63  xmlParseURIRaw (const char *str,
64  int raw);
67  const char *str);
70 XMLPUBFUN void XMLCALL
72  xmlURIPtr uri);
74  xmlURIEscapeStr (const xmlChar *str,
75  const xmlChar *list);
76 XMLPUBFUN char * XMLCALL
77  xmlURIUnescapeString (const char *str,
78  int len,
79  char *target);
81  xmlNormalizeURIPath (char *path);
83  xmlURIEscape (const xmlChar *str);
84 XMLPUBFUN void XMLCALL
87  xmlCanonicPath (const xmlChar *path);
89  xmlPathToURI (const xmlChar *path);
90 
91 #ifdef __cplusplus
92 }
93 #endif
94 #endif /* __XML_URI_H__ */
XMLPUBFUN xmlChar *XMLCALL xmlPathToURI(const xmlChar *path)
Definition: uri.c:2513
XMLPUBFUN xmlChar *XMLCALL xmlBuildRelativeURI(const xmlChar *URI, const xmlChar *base)
Definition: uri.c:2165
const char * uri
Definition: sec_mgr.c:1588
XMLPUBFUN xmlChar *XMLCALL xmlURIEscapeStr(const xmlChar *str, const xmlChar *list)
Definition: uri.c:1672
int port
Definition: uri.h:39
char * opaque
Definition: uri.h:35
#define XMLPUBFUN
Definition: xmlexports.h:30
XMLPUBFUN xmlURIPtr XMLCALL xmlParseURI(const char *str)
Definition: uri.c:934
char * server
Definition: uri.h:37
char * query
Definition: uri.h:41
XMLPUBFUN int XMLCALL xmlParseURIReference(xmlURIPtr uri, const char *str)
Definition: uri.c:964
int cleanup
Definition: uri.h:43
char * authority
Definition: uri.h:36
XMLPUBFUN xmlChar *XMLCALL xmlBuildURI(const xmlChar *URI, const xmlChar *base)
Definition: uri.c:1884
const WCHAR * str
char * query_raw
Definition: uri.h:44
XMLPUBFUN xmlChar *XMLCALL xmlCanonicPath(const xmlChar *path)
Definition: uri.c:2372
XMLPUBFUN xmlURIPtr XMLCALL xmlCreateURI(void)
Definition: uri.c:1014
XMLPUBFUN void XMLCALL xmlPrintURI(FILE *stream, xmlURIPtr uri)
Definition: uri.c:1334
XMLPUBFUN char *XMLCALL xmlURIUnescapeString(const char *str, int len, char *target)
Definition: uri.c:1614
Definition: parse.h:22
XMLPUBFUN xmlURIPtr XMLCALL xmlParseURIRaw(const char *str, int raw)
Definition: uri.c:980
XMLPUBFUN xmlChar *XMLCALL xmlURIEscape(const xmlChar *str)
Definition: uri.c:1745
unsigned char xmlChar
Definition: xmlstring.h:28
GLenum GLsizei len
Definition: glext.h:6722
Definition: _list.h:228
char * path
Definition: uri.h:40
Definition: uri.h:33
char * scheme
Definition: uri.h:34
char * user
Definition: uri.h:38
XMLPUBFUN void XMLCALL xmlFreeURI(xmlURIPtr uri)
Definition: uri.c:1381
#define XMLCALL
GLenum target
Definition: glext.h:7315
XMLPUBFUN int XMLCALL xmlNormalizeURIPath(char *path)
Definition: uri.c:1414
xmlURI * xmlURIPtr
Definition: uri.h:32
char * fragment
Definition: uri.h:42
XMLPUBFUN xmlChar *XMLCALL xmlSaveUri(xmlURIPtr uri)
Definition: uri.c:1060