ReactOS 0.4.15-dev-8116-gf69e256
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
18extern "C" {
19#endif
20
31typedef struct _xmlURI xmlURI;
33struct _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);
75 const xmlChar *list);
76XMLPUBFUN char * XMLCALL
77 xmlURIUnescapeString (const char *str,
78 int len,
79 char *target);
83 xmlURIEscape (const xmlChar *str);
89 xmlPathToURI (const xmlChar *path);
90
91#ifdef __cplusplus
92}
93#endif
94#endif /* __XML_URI_H__ */
Definition: list.h:37
#define XMLCALL
GLenum GLsizei len
Definition: glext.h:6722
GLenum target
Definition: glext.h:7315
const char * uri
Definition: sec_mgr.c:1588
const WCHAR * str
Definition: uri.h:33
char * authority
Definition: uri.h:36
char * server
Definition: uri.h:37
char * opaque
Definition: uri.h:35
char * query_raw
Definition: uri.h:44
char * user
Definition: uri.h:38
char * path
Definition: uri.h:40
int port
Definition: uri.h:39
int cleanup
Definition: uri.h:43
char * scheme
Definition: uri.h:34
char * query
Definition: uri.h:41
char * fragment
Definition: uri.h:42
Definition: parse.h:23
XMLPUBFUN void XMLCALL xmlPrintURI(FILE *stream, xmlURIPtr uri)
Definition: uri.c:1340
XMLPUBFUN xmlURIPtr XMLCALL xmlCreateURI(void)
Definition: uri.c:1020
XMLPUBFUN xmlChar *XMLCALL xmlPathToURI(const xmlChar *path)
Definition: uri.c:2521
XMLPUBFUN int XMLCALL xmlParseURIReference(xmlURIPtr uri, const char *str)
Definition: uri.c:970
XMLPUBFUN xmlURIPtr XMLCALL xmlParseURIRaw(const char *str, int raw)
Definition: uri.c:986
XMLPUBFUN xmlURIPtr XMLCALL xmlParseURI(const char *str)
Definition: uri.c:940
xmlURI * xmlURIPtr
Definition: uri.h:32
XMLPUBFUN xmlChar *XMLCALL xmlURIEscapeStr(const xmlChar *str, const xmlChar *list)
Definition: uri.c:1679
XMLPUBFUN char *XMLCALL xmlURIUnescapeString(const char *str, int len, char *target)
Definition: uri.c:1620
XMLPUBFUN xmlChar *XMLCALL xmlCanonicPath(const xmlChar *path)
Definition: uri.c:2380
XMLPUBFUN xmlChar *XMLCALL xmlURIEscape(const xmlChar *str)
Definition: uri.c:1752
XMLPUBFUN int XMLCALL xmlNormalizeURIPath(char *path)
Definition: uri.c:1420
XMLPUBFUN xmlChar *XMLCALL xmlSaveUri(xmlURIPtr uri)
Definition: uri.c:1066
XMLPUBFUN void XMLCALL xmlFreeURI(xmlURIPtr uri)
Definition: uri.c:1387
XMLPUBFUN xmlChar *XMLCALL xmlBuildURI(const xmlChar *URI, const xmlChar *base)
Definition: uri.c:1892
XMLPUBFUN xmlChar *XMLCALL xmlBuildRelativeURI(const xmlChar *URI, const xmlChar *base)
Definition: uri.c:2173
#define XMLPUBFUN
Definition: xmlexports.h:61
unsigned char xmlChar
Definition: xmlstring.h:28