X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_deflatestream_object.h;h=7af1011ea963c1cecd392a03b7487fe4fbde8ba5;hp=5a274a8da38a131d45aeff1a2b182f70cd62f0ab;hb=9c3bc2cb7b5217a91a8defbbe7c5c20f33938d59;hpb=b2e9ffe535660f5de2ec850ddc0dd6e99a34724d diff --git a/php_http_deflatestream_object.h b/php_http_deflatestream_object.h index 5a274a8..7af1011 100644 --- a/php_http_deflatestream_object.h +++ b/php_http_deflatestream_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2005, Michael Wallner | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -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; @@ -37,6 +37,7 @@ extern void _http_deflatestream_object_free(zend_object *object TSRMLS_DC); PHP_METHOD(HttpDeflateStream, __construct); PHP_METHOD(HttpDeflateStream, update); +PHP_METHOD(HttpDeflateStream, flush); PHP_METHOD(HttpDeflateStream, finish); #endif