X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_response_object.h;h=757bc894a79d6c6663865236a43138980895240c;hp=6472a318235ce51c72d2b57e69104b79a96c204b;hb=91c98198094e89bd2a0d0648b60dd2c361d3054b;hpb=6cb8b71e819cbeef5bc5383a64452a36f56de17f diff --git a/php_http_response_object.h b/php_http_response_object.h index 6472a31..757bc89 100644 --- a/php_http_response_object.h +++ b/php_http_response_object.h @@ -26,8 +26,7 @@ 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); +extern PHP_MINIT_FUNCTION(http_response_object); PHP_METHOD(HttpResponse, setHeader); PHP_METHOD(HttpResponse, getHeader); @@ -39,6 +38,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);