X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_response_object.h;h=60a5be011e96508ac1e2ee7e40cb9708db1ce7b9;hp=8a8e41ba9b1f14e2a89484a0135535c5f889e580;hb=60d91c35d7c2b4ce86ed67813f2f5a19266a30cc;hpb=04403e78125a72f38fcd145a8dc0809e348e39d3 diff --git a/php_http_response_object.h b/php_http_response_object.h index 8a8e41b..60a5be0 100644 --- a/php_http_response_object.h +++ b/php_http_response_object.h @@ -19,7 +19,9 @@ #define PHP_HTTP_RESPONSE_OBJECT_H #ifdef ZEND_ENGINE_2 -extern HashTable http_response_statics; +#include "missing.h" + +#ifndef WONKY extern zend_class_entry *http_response_object_ce; extern zend_function_entry http_response_object_fe[]; @@ -37,6 +39,7 @@ PHP_METHOD(HttpResponse, setContentDisposition); PHP_METHOD(HttpResponse, getContentDisposition); PHP_METHOD(HttpResponse, setContentType); PHP_METHOD(HttpResponse, getContentType); +PHP_METHOD(HttpResponse, guessContentType); PHP_METHOD(HttpResponse, setCache); PHP_METHOD(HttpResponse, getCache); PHP_METHOD(HttpResponse, setCacheControl); @@ -60,6 +63,7 @@ PHP_METHOD(HttpResponse, status); PHP_METHOD(HttpResponse, getRequestHeaders); PHP_METHOD(HttpResponse, getRequestBody); +#endif #endif #endif