X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_response_object.h;h=6472a318235ce51c72d2b57e69104b79a96c204b;hp=b114538f6de90d62a165f0371710057c92fcc3ef;hb=1769e9db4255b1e6d02ac566deabe1b9e24eb7cd;hpb=6deee2e3d2d6282dd76e3725fe2de6c7833bd57f diff --git a/php_http_response_object.h b/php_http_response_object.h index b114538..6472a31 100644 --- a/php_http_response_object.h +++ b/php_http_response_object.h @@ -19,14 +19,22 @@ #define PHP_HTTP_RESPONSE_OBJECT_H #ifdef ZEND_ENGINE_2 +#include "missing.h" + +#ifndef WONKY + extern zend_class_entry *http_response_object_ce; extern zend_function_entry http_response_object_fe[]; #define http_response_object_init() _http_response_object_init(INIT_FUNC_ARGS_PASSTHRU) extern void _http_response_object_init(INIT_FUNC_ARGS); +PHP_METHOD(HttpResponse, setHeader); +PHP_METHOD(HttpResponse, getHeader); PHP_METHOD(HttpResponse, setETag); PHP_METHOD(HttpResponse, getETag); +PHP_METHOD(HttpResponse, setLastModified); +PHP_METHOD(HttpResponse, getLastModified); PHP_METHOD(HttpResponse, setContentDisposition); PHP_METHOD(HttpResponse, getContentDisposition); PHP_METHOD(HttpResponse, setContentType); @@ -50,11 +58,11 @@ PHP_METHOD(HttpResponse, getStream); PHP_METHOD(HttpResponse, send); PHP_METHOD(HttpResponse, capture); PHP_METHOD(HttpResponse, redirect); -PHP_METHOD(HttpResponse, sendStatus); -PHP_METHOD(HttpResponse, sendHeader); +PHP_METHOD(HttpResponse, status); PHP_METHOD(HttpResponse, getRequestHeaders); PHP_METHOD(HttpResponse, getRequestBody); +#endif #endif #endif