X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_util_object.h;h=4c263a2e7a9aafa571e1581ec26667f61ca190ab;hp=ba711b8cb52583a6bbf1c9d3a8ef85ee8c066e87;hb=98e0618077ab00672dd0e6e134d4722e033d827e;hpb=3f47fc4cd2911b718b155de4e37752db9fa4f8c8 diff --git a/php_http_util_object.h b/php_http_util_object.h index ba711b8..4c263a2 100644 --- a/php_http_util_object.h +++ b/php_http_util_object.h @@ -1,16 +1,13 @@ /* - +----------------------------------------------------------------------+ - | PECL :: http | - +----------------------------------------------------------------------+ - | This source file is subject to version 3.0 of the PHP license, that | - | is bundled with this package in the file LICENSE, and is available | - | through the world-wide-web at http://www.php.net/license/3_0.txt. | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Copyright (c) 2004-2005 Michael Wallner | - +----------------------------------------------------------------------+ + +--------------------------------------------------------------------+ + | PECL :: http | + +--------------------------------------------------------------------+ + | Redistribution and use in source and binary forms, with or without | + | modification, are permitted provided that the conditions mentioned | + | in the accompanying LICENSE file are met. | + +--------------------------------------------------------------------+ + | Copyright (c) 2004-2006, Michael Wallner | + +--------------------------------------------------------------------+ */ /* $Id$ */ @@ -22,24 +19,23 @@ extern zend_class_entry *http_util_object_ce; extern zend_function_entry http_util_object_fe[]; -#define http_util_object_init() _http_util_object_init(INIT_FUNC_ARGS_PASSTHRU) -extern void _http_util_object_init(INIT_FUNC_ARGS); +extern PHP_MINIT_FUNCTION(http_util_object); PHP_METHOD(HttpUtil, date); -PHP_METHOD(HttpUtil, absoluteUri); +PHP_METHOD(HttpUtil, buildUrl); +PHP_METHOD(HttpUtil, buildQuery); PHP_METHOD(HttpUtil, negotiateLanguage); PHP_METHOD(HttpUtil, negotiateCharset); +PHP_METHOD(HttpUtil, negotiateContentType); PHP_METHOD(HttpUtil, matchModified); PHP_METHOD(HttpUtil, matchEtag); PHP_METHOD(HttpUtil, parseHeaders); PHP_METHOD(HttpUtil, parseMessage); +PHP_METHOD(HttpUtil, parseCookie); PHP_METHOD(HttpUtil, chunkedDecode); -PHP_METHOD(HttpUtil, gzEncode); -PHP_METHOD(HttpUtil, gzDecode); PHP_METHOD(HttpUtil, deflate); PHP_METHOD(HttpUtil, inflate); -PHP_METHOD(HttpUtil, compress); -PHP_METHOD(HttpUtil, uncompress); +PHP_METHOD(HttpUtil, support); #endif #endif