- enable dns data sharing for the global request datashare by default
[m6w6/ext-http] / php_http_response_object.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2006, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 /* $Id$ */
14
15 #ifndef PHP_HTTP_RESPONSE_OBJECT_H
16 #define PHP_HTTP_RESPONSE_OBJECT_H
17 #ifdef ZEND_ENGINE_2
18 #ifndef WONKY
19
20 extern zend_class_entry *http_response_object_ce;
21 extern zend_function_entry http_response_object_fe[];
22
23 extern PHP_MINIT_FUNCTION(http_response_object);
24
25 PHP_METHOD(HttpResponse, setHeader);
26 PHP_METHOD(HttpResponse, getHeader);
27 PHP_METHOD(HttpResponse, setETag);
28 PHP_METHOD(HttpResponse, getETag);
29 PHP_METHOD(HttpResponse, setLastModified);
30 PHP_METHOD(HttpResponse, getLastModified);
31 PHP_METHOD(HttpResponse, setContentDisposition);
32 PHP_METHOD(HttpResponse, getContentDisposition);
33 PHP_METHOD(HttpResponse, setContentType);
34 PHP_METHOD(HttpResponse, getContentType);
35 PHP_METHOD(HttpResponse, guessContentType);
36 PHP_METHOD(HttpResponse, setCache);
37 PHP_METHOD(HttpResponse, getCache);
38 PHP_METHOD(HttpResponse, setCacheControl);
39 PHP_METHOD(HttpResponse, getCacheControl);
40 PHP_METHOD(HttpResponse, setGzip);
41 PHP_METHOD(HttpResponse, getGzip);
42 PHP_METHOD(HttpResponse, setThrottleDelay);
43 PHP_METHOD(HttpResponse, getThrottleDelay);
44 PHP_METHOD(HttpResponse, setBufferSize);
45 PHP_METHOD(HttpResponse, getBufferSize);
46 PHP_METHOD(HttpResponse, setData);
47 PHP_METHOD(HttpResponse, getData);
48 PHP_METHOD(HttpResponse, setFile);
49 PHP_METHOD(HttpResponse, getFile);
50 PHP_METHOD(HttpResponse, setStream);
51 PHP_METHOD(HttpResponse, getStream);
52 PHP_METHOD(HttpResponse, send);
53 PHP_METHOD(HttpResponse, capture);
54
55 #endif
56 #endif
57 #endif
58
59 /*
60 * Local variables:
61 * tab-width: 4
62 * c-basic-offset: 4
63 * End:
64 * vim600: noet sw=4 ts=4 fdm=marker
65 * vim<600: noet sw=4 ts=4
66 */
67