2
+----------------------------------------------------------------------+
4
+----------------------------------------------------------------------+
5
| Copyright (c) 1997-2004 The PHP Group |
6
+----------------------------------------------------------------------+
7
| This source file is subject to version 3.0 of the PHP license, |
8
| that is bundled with this package in the file LICENSE, and is |
9
| available through the world-wide-web at the following url: |
10
| http://www.php.net/license/3_0.txt. |
11
| If you did not receive a copy of the PHP license and are unable to |
12
| obtain it through the world-wide-web, please send a note to |
13
| license@php.net so we can mail you a copy immediately. |
14
+----------------------------------------------------------------------+
15
| Author: Jim Winstead <jimw@php.net> |
16
+----------------------------------------------------------------------+
18
/* $Id: url.h,v 1.18.2.1 2004/09/20 05:14:35 iliaa Exp $ */
23
typedef struct php_url {
34
PHPAPI void php_url_free(php_url *theurl);
35
PHPAPI php_url *php_url_parse(char const *str);
36
PHPAPI php_url *php_url_parse_ex(char const *str, int length);
37
PHPAPI int php_url_decode(char *str, int len); /* return value: length of decoded string */
38
PHPAPI int php_raw_url_decode(char *str, int len); /* return value: length of decoded string */
39
PHPAPI char *php_url_encode(char const *s, int len, int *new_length);
40
PHPAPI char *php_raw_url_encode(char const *s, int len, int *new_length);
42
PHP_FUNCTION(parse_url);
43
PHP_FUNCTION(urlencode);
44
PHP_FUNCTION(urldecode);
45
PHP_FUNCTION(rawurlencode);
46
PHP_FUNCTION(rawurldecode);
47
PHP_FUNCTION(get_headers);