PHP 8.2.30
Preview: uri.h Size: 2.66 KB
/proc/thread-self/root/proc/thread-self/root/opt/cpanel/ea-libxml2/include/libxml2/libxml/uri.h

/**
 * @file
 *
 * @brief library of generic URI related routines
 * 
 * library of generic URI related routines
 *              Implements RFC 2396
 *
 * @copyright See Copyright for the status of this software.
 *
 * @author Daniel Veillard
 */

#ifndef __XML_URI_H__
#define __XML_URI_H__

#include <stdio.h>
#include <libxml/xmlversion.h>
#include <libxml/xmlstring.h>

#ifdef __cplusplus
extern "C" {
#endif

/** Parsed URI */
typedef struct _xmlURI xmlURI;
typedef xmlURI *xmlURIPtr;
/**
 * A parsed URI reference.
 *
 * This is a struct containing the various fields
 * as described in RFC 2396 but separated for further processing.
 *
 * Note: query is a deprecated field which is incorrectly unescaped.
 * query_raw takes precedence over query if the former is set.
 * See: http://mail.gnome.org/archives/xml/2007-April/thread.html\#00127
 */
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 (deprecated - use with caution) */
    char *fragment;	/* the fragment identifier */
    int  cleanup;	/* parsing potentially unclean URI */
    char *query_raw;	/* the query string (as it appears in the URI) */
};

XMLPUBFUN xmlURI *
		xmlCreateURI		(void);
XMLPUBFUN int
		xmlBuildURISafe		(const xmlChar *URI,
					 const xmlChar *base,
					 xmlChar **out);
XMLPUBFUN xmlChar *
		xmlBuildURI		(const xmlChar *URI,
					 const xmlChar *base);
XMLPUBFUN int
		xmlBuildRelativeURISafe	(const xmlChar *URI,
					 const xmlChar *base,
					 xmlChar **out);
XMLPUBFUN xmlChar *
		xmlBuildRelativeURI	(const xmlChar *URI,
					 const xmlChar *base);
XMLPUBFUN xmlURI *
		xmlParseURI		(const char *str);
XMLPUBFUN int
		xmlParseURISafe		(const char *str,
					 xmlURI **uri);
XMLPUBFUN xmlURI *
		xmlParseURIRaw		(const char *str,
					 int raw);
XMLPUBFUN int
		xmlParseURIReference	(xmlURI *uri,
					 const char *str);
XMLPUBFUN xmlChar *
		xmlSaveUri		(xmlURI *uri);
XMLPUBFUN void
		xmlPrintURI		(FILE *stream,
					 xmlURI *uri);
XMLPUBFUN xmlChar *
		xmlURIEscapeStr         (const xmlChar *str,
					 const xmlChar *list);
XMLPUBFUN char *
		xmlURIUnescapeString	(const char *str,
					 int len,
					 char *target);
XMLPUBFUN int
		xmlNormalizeURIPath	(char *path);
XMLPUBFUN xmlChar *
		xmlURIEscape		(const xmlChar *str);
XMLPUBFUN void
		xmlFreeURI		(xmlURI *uri);
XMLPUBFUN xmlChar*
		xmlCanonicPath		(const xmlChar *path);
XMLPUBFUN xmlChar*
		xmlPathToURI		(const xmlChar *path);

#ifdef __cplusplus
}
#endif
#endif /* __XML_URI_H__ */

Directory Contents

Dirs: 0 × Files: 46

Name Size Perms Modified Actions
2.61 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.91 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.71 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
1.62 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
1.74 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
9.63 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.28 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
591 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download
6.80 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
10.36 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.64 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
3.07 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
323 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.09 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
58.89 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
13.52 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.54 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
5.91 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
395 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.14 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
22.71 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.16 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
1.53 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
39.30 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.66 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
11.61 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.81 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
5.04 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
3.80 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
38.41 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.36 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
11.32 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.93 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
1.13 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
12.24 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
2.40 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
3.39 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
6.77 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
4.44 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
5.13 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
281 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download
3.90 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
19.99 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
14.41 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
17.36 KB lrw-r--r-- 2025-11-18 18:25:27
Edit Download
930 B lrw-r--r-- 2025-11-18 18:25:27
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).