X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_deflatestream_object.h;h=0ce94d5e5a4e15c94db7c4943ddfbf35fe21214e;hp=13c33506c602d78ed29bad18c17d6541d1b66136;hb=df36ec0caf7186c3bcb55580601183a864579fa0;hpb=32e91737086db53bb1fd9ed9f79d693c43ec459f diff --git a/php_http_deflatestream_object.h b/php_http_deflatestream_object.h index 13c3350..0ce94d5 100644 --- a/php_http_deflatestream_object.h +++ b/php_http_deflatestream_object.h @@ -16,7 +16,7 @@ #define PHP_HTTP_DEFLATESTREAM_OBJECT_H #if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_ZLIB) -typedef struct { +typedef struct _http_deflatestream_object_t { zend_object zo; http_encoding_stream *stream; } http_deflatestream_object; @@ -36,6 +36,7 @@ extern zend_object_value _http_deflatestream_object_clone_obj(zval *object TSRML extern void _http_deflatestream_object_free(zend_object *object TSRMLS_DC); PHP_METHOD(HttpDeflateStream, __construct); +PHP_METHOD(HttpDeflateStream, factory); PHP_METHOD(HttpDeflateStream, update); PHP_METHOD(HttpDeflateStream, flush); PHP_METHOD(HttpDeflateStream, finish);