- toggle debugging flag
[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-2005, 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
19 #include "missing.h"
20
21 #ifndef WONKY
22
23 extern zend_class_entry *http_response_object_ce;
24 extern zend_function_entry http_response_object_fe[];
25
26 extern PHP_MINIT_FUNCTION(http_response_object);
27
28 PHP_METHOD(HttpResponse, setHeader);
29 PHP_METHOD(HttpResponse, getHeader);
30 PHP_METHOD(HttpResponse, setETag);
31 PHP_METHOD(HttpResponse, getETag);
32 PHP_METHOD(HttpResponse, setLastModified);
33 PHP_METHOD(HttpResponse, getLastModified);
34 PHP_METHOD(HttpResponse, setContentDisposition);
35 PHP_METHOD(HttpResponse, getContentDisposition);
36 PHP_METHOD(HttpResponse, setContentType);
37 PHP_METHOD(HttpResponse, getContentType);
38 PHP_METHOD(HttpResponse, guessContentType);
39 PHP_METHOD(HttpResponse, setCache);
40 PHP_METHOD(HttpResponse, getCache);
41 PHP_METHOD(HttpResponse, setCacheControl);
42 PHP_METHOD(HttpResponse, getCacheControl);
43 PHP_METHOD(HttpResponse, setGzip);
44 PHP_METHOD(HttpResponse, getGzip);
45 PHP_METHOD(HttpResponse, setThrottleDelay);
46 PHP_METHOD(HttpResponse, getThrottleDelay);
47 PHP_METHOD(HttpResponse, setBufferSize);
48 PHP_METHOD(HttpResponse, getBufferSize);
49 PHP_METHOD(HttpResponse, setData);
50 PHP_METHOD(HttpResponse, getData);
51 PHP_METHOD(HttpResponse, setFile);
52 PHP_METHOD(HttpResponse, getFile);
53 PHP_METHOD(HttpResponse, setStream);
54 PHP_METHOD(HttpResponse, getStream);
55 PHP_METHOD(HttpResponse, send);
56 PHP_METHOD(HttpResponse, capture);
57 PHP_METHOD(HttpResponse, redirect);
58 PHP_METHOD(HttpResponse, status);
59 PHP_METHOD(HttpResponse, getRequestHeaders);
60 PHP_METHOD(HttpResponse, getRequestBody);
61
62 #endif
63 #endif
64 #endif
65
66 /*
67 * Local variables:
68 * tab-width: 4
69 * c-basic-offset: 4
70 * End:
71 * vim600: noet sw=4 ts=4 fdm=marker
72 * vim<600: noet sw=4 ts=4
73 */
74