2 +----------------------------------------------------------------------+
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.0 of the PHP license, that |
6 | is bundled with this package in the file LICENSE, and is available |
7 | through the world-wide-web at http://www.php.net/license/3_0.txt. |
8 | If you did not receive a copy of the PHP license and are unable to |
9 | obtain it through the world-wide-web, please send a note to |
10 | license@php.net so we can mail you a copy immediately. |
11 +----------------------------------------------------------------------+
12 | Copyright (c) 2004-2005 Michael Wallner <mike@php.net> |
13 +----------------------------------------------------------------------+
27 #include "php_http_std_defs.h"
28 #include "php_http_util_object.h"
30 zend_class_entry
*http_util_object_ce
;
31 zend_function_entry http_util_object_fe
[] = {
32 HTTP_STATIC_ME_ALIAS(date
, http_date
, NULL
)
33 HTTP_STATIC_ME_ALIAS(absoluteURI
, http_absolute_uri
, NULL
)
34 HTTP_STATIC_ME_ALIAS(negotiateLanguage
, http_negotiate_language
, NULL
)
35 HTTP_STATIC_ME_ALIAS(negotiateCharset
, http_negotiate_charset
, NULL
)
36 HTTP_STATIC_ME_ALIAS(matchModified
, http_match_modified
, NULL
)
37 HTTP_STATIC_ME_ALIAS(matchEtag
, http_match_etag
, NULL
)
38 HTTP_STATIC_ME_ALIAS(chunkedDecode
, http_chunked_decode
, NULL
)
39 HTTP_STATIC_ME_ALIAS(splitResponse
, http_split_response
, NULL
)
40 HTTP_STATIC_ME_ALIAS(parseHeaders
, http_parse_headers
, NULL
)
41 HTTP_STATIC_ME_ALIAS(authBasic
, http_auth_basic
, NULL
)
42 HTTP_STATIC_ME_ALIAS(authBasicCallback
, http_auth_basic_cb
, NULL
)
46 void _http_util_object_init(INIT_FUNC_ARGS
)
48 HTTP_REGISTER_CLASS(HttpUtil
, http_util_object
, NULL
, ZEND_ACC_FINAL_CLASS
);
51 #endif /* ZEND_ENGINE_2 */
58 * vim600: noet sw=4 ts=4 fdm=marker
59 * vim<600: noet sw=4 ts=4