X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_inflatestream_object.h;h=ae6a2ae83aa13d313372aaeb122a4c17ba6a3b6d;hp=91da740a3af67eceb9c53e755dc7731666f49a9e;hb=aca5a5a21e4514707a71cfa69cc19ae50a78f5d3;hpb=b2e9ffe535660f5de2ec850ddc0dd6e99a34724d diff --git a/php_http_inflatestream_object.h b/php_http_inflatestream_object.h index 91da740..ae6a2ae 100644 --- a/php_http_inflatestream_object.h +++ b/php_http_inflatestream_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-2007, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -16,7 +16,7 @@ #define PHP_HTTP_INFLATESTREAM_OBJECT_H #if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_ZLIB) -typedef struct { +typedef struct _http_inflatestream_object_t { zend_object zo; http_encoding_stream *stream; } http_inflatestream_object; @@ -35,7 +35,10 @@ extern zend_object_value _http_inflatestream_object_clone_obj(zval *object TSRML #define http_inflatestream_object_free(o) _http_inflatestream_object_free((o) TSRMLS_CC) extern void _http_inflatestream_object_free(zend_object *object TSRMLS_DC); +PHP_METHOD(HttpInflateStream, __construct); +PHP_METHOD(HttpInflateStream, factory); PHP_METHOD(HttpInflateStream, update); +PHP_METHOD(HttpInflateStream, flush); PHP_METHOD(HttpInflateStream, finish); #endif