080fa8bcf93a29a732f8c785c14d5f239985acfd
[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 #ifdef HTTP_HAVE_CURL
46 PHP_METHOD(HttpUtil, get);
47 PHP_METHOD(HttpUtil, head);
48 PHP_METHOD(HttpUtil, postData);
49 PHP_METHOD(HttpUtil, postFields);
50 #endif /* HTTP_HAVE_CURL */
51 PHP_METHOD(HttpUtil, authBasic);
52 PHP_METHOD(HttpUtil, authBasicCallback);
53
54 #endif
55 #endif
56
57 /*
58 * Local variables:
59 * tab-width: 4
60 * c-basic-offset: 4
61 * End:
62 * vim600: noet sw=4 ts=4 fdm=marker
63 * vim<600: noet sw=4 ts=4
64 */
65