- added http_get_request_body()
[m6w6/ext-http] / php_http_util_object.h
1 /*
2 +----------------------------------------------------------------------+
3 | PECL :: http |
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 +----------------------------------------------------------------------+
14 */
15
16 /* $Id$ */
17
18 #ifndef PHP_HTTP_UTIL_OBJECT_H
19 #define PHP_HTTP_UTIL_OBJECT_H
20 #ifdef ZEND_ENGINE_2
21
22 extern zend_class_entry *http_util_object_ce;
23 extern zend_function_entry http_util_object_fe[];
24
25 #define http_util_object_init() _http_util_object_init(INIT_FUNC_ARGS_PASSTHRU)
26 extern void _http_util_object_init(INIT_FUNC_ARGS);
27
28 PHP_METHOD(HttpUtil, date);
29 PHP_METHOD(HttpUtil, absoluteURI);
30 PHP_METHOD(HttpUtil, negotiateLanguage);
31 PHP_METHOD(HttpUtil, negotiateCharset);
32 PHP_METHOD(HttpUtil, redirect);
33 PHP_METHOD(HttpUtil, sendStatus);
34 PHP_METHOD(HttpUtil, sendLastModified);
35 PHP_METHOD(HttpUtil, sendContentType);
36 PHP_METHOD(HttpUtil, sendContentDisposition);
37 PHP_METHOD(HttpUtil, matchModified);
38 PHP_METHOD(HttpUtil, matchEtag);
39 PHP_METHOD(HttpUtil, cacheLastModified);
40 PHP_METHOD(HttpUtil, cacheEtag);
41 PHP_METHOD(HttpUtil, chunkedDecode);
42 PHP_METHOD(HttpUtil, splitResponse);
43 PHP_METHOD(HttpUtil, parseHeaders);
44 PHP_METHOD(HttpUtil, getRequestHeaders);
45 PHP_METHOD(HttpUtil, getRequestBody);
46 #ifdef HTTP_HAVE_CURL
47 PHP_METHOD(HttpUtil, get);
48 PHP_METHOD(HttpUtil, head);
49 PHP_METHOD(HttpUtil, postData);
50 PHP_METHOD(HttpUtil, postFields);
51 #endif /* HTTP_HAVE_CURL */
52 PHP_METHOD(HttpUtil, authBasic);
53 PHP_METHOD(HttpUtil, authBasicCallback);
54
55 #endif
56 #endif
57
58 /*
59 * Local variables:
60 * tab-width: 4
61 * c-basic-offset: 4
62 * End:
63 * vim600: noet sw=4 ts=4 fdm=marker
64 * vim<600: noet sw=4 ts=4
65 */
66