-/**\r
- * Summary: library of generic URI related routines\r
- * Description: library of generic URI related routines\r
- * Implements RFC 2396\r
- *\r
- * Copy: See Copyright for the status of this software.\r
- *\r
- * Author: Daniel Veillard\r
- */\r
-\r
-#ifndef __XML_URI_H__\r
-#define __XML_URI_H__\r
-\r
-#include <libxml/xmlversion.h>\r
-#include <libxml/tree.h>\r
-\r
-#ifdef __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-/**\r
- * xmlURI:\r
- *\r
- * A parsed URI reference. This is a struct containing the various fields\r
- * as described in RFC 2396 but separated for further processing.\r
- */\r
-typedef struct _xmlURI xmlURI;\r
-typedef xmlURI *xmlURIPtr;\r
-struct _xmlURI {\r
- char *scheme; /* the URI scheme */\r
- char *opaque; /* opaque part */\r
- char *authority; /* the authority part */\r
- char *server; /* the server part */\r
- char *user; /* the user part */\r
- int port; /* the port number */\r
- char *path; /* the path string */\r
- char *query; /* the query string */\r
- char *fragment; /* the fragment identifier */\r
- int cleanup; /* parsing potentially unclean URI */\r
-};\r
-\r
-/*\r
- * This function is in tree.h:\r
- * xmlChar * xmlNodeGetBase (xmlDocPtr doc,\r
- * xmlNodePtr cur);\r
- */\r
-XMLPUBFUN xmlURIPtr XMLCALL \r
- xmlCreateURI (void);\r
-XMLPUBFUN xmlChar * XMLCALL \r
- xmlBuildURI (const xmlChar *URI,\r
- const xmlChar *base);\r
-XMLPUBFUN xmlChar * XMLCALL \r
- xmlBuildRelativeURI (const xmlChar *URI,\r
- const xmlChar *base);\r
-XMLPUBFUN xmlURIPtr XMLCALL \r
- xmlParseURI (const char *str);\r
-XMLPUBFUN int XMLCALL \r
- xmlParseURIReference (xmlURIPtr uri,\r
- const char *str);\r
-XMLPUBFUN xmlChar * XMLCALL \r
- xmlSaveUri (xmlURIPtr uri);\r
-XMLPUBFUN void XMLCALL \r
- xmlPrintURI (FILE *stream,\r
- xmlURIPtr uri);\r
-XMLPUBFUN xmlChar * XMLCALL \r
- xmlURIEscapeStr (const xmlChar *str,\r
- const xmlChar *list);\r
-XMLPUBFUN char * XMLCALL \r
- xmlURIUnescapeString (const char *str,\r
- int len,\r
- char *target);\r
-XMLPUBFUN int XMLCALL \r
- xmlNormalizeURIPath (char *path);\r
-XMLPUBFUN xmlChar * XMLCALL \r
- xmlURIEscape (const xmlChar *str);\r
-XMLPUBFUN void XMLCALL \r
- xmlFreeURI (xmlURIPtr uri);\r
-XMLPUBFUN xmlChar* XMLCALL \r
- xmlCanonicPath (const xmlChar *path);\r
-\r
-#ifdef __cplusplus\r
-}\r
-#endif\r
-#endif /* __XML_URI_H__ */\r
+/**
+ * Summary: library of generic URI related routines
+ * Description: library of generic URI related routines
+ * Implements RFC 2396
+ *
+ * Copy: See Copyright for the status of this software.
+ *
+ * Author: Daniel Veillard
+ */
+
+#ifndef __XML_URI_H__
+#define __XML_URI_H__
+
+#include <libxml/xmlversion.h>
+#include <libxml/tree.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * xmlURI:
+ *
+ * A parsed URI reference. This is a struct containing the various fields
+ * as described in RFC 2396 but separated for further processing.
+ */
+typedef struct _xmlURI xmlURI;
+typedef xmlURI *xmlURIPtr;
+struct _xmlURI {
+ char *scheme; /* the URI scheme */
+ char *opaque; /* opaque part */
+ char *authority; /* the authority part */
+ char *server; /* the server part */
+ char *user; /* the user part */
+ int port; /* the port number */
+ char *path; /* the path string */
+ char *query; /* the query string */
+ char *fragment; /* the fragment identifier */
+ int cleanup; /* parsing potentially unclean URI */
+};
+
+/*
+ * This function is in tree.h:
+ * xmlChar * xmlNodeGetBase (xmlDocPtr doc,
+ * xmlNodePtr cur);
+ */
+XMLPUBFUN xmlURIPtr XMLCALL
+ xmlCreateURI (void);
+XMLPUBFUN xmlChar * XMLCALL
+ xmlBuildURI (const xmlChar *URI,
+ const xmlChar *base);
+XMLPUBFUN xmlChar * XMLCALL
+ xmlBuildRelativeURI (const xmlChar *URI,
+ const xmlChar *base);
+XMLPUBFUN xmlURIPtr XMLCALL
+ xmlParseURI (const char *str);
+XMLPUBFUN int XMLCALL
+ xmlParseURIReference (xmlURIPtr uri,
+ const char *str);
+XMLPUBFUN xmlChar * XMLCALL
+ xmlSaveUri (xmlURIPtr uri);
+XMLPUBFUN void XMLCALL
+ xmlPrintURI (FILE *stream,
+ xmlURIPtr uri);
+XMLPUBFUN xmlChar * XMLCALL
+ xmlURIEscapeStr (const xmlChar *str,
+ const xmlChar *list);
+XMLPUBFUN char * XMLCALL
+ xmlURIUnescapeString (const char *str,
+ int len,
+ char *target);
+XMLPUBFUN int XMLCALL
+ xmlNormalizeURIPath (char *path);
+XMLPUBFUN xmlChar * XMLCALL
+ xmlURIEscape (const xmlChar *str);
+XMLPUBFUN void XMLCALL
+ xmlFreeURI (xmlURIPtr uri);
+XMLPUBFUN xmlChar* XMLCALL
+ xmlCanonicPath (const xmlChar *path);
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* __XML_URI_H__ */