- use a more iterative approach in inflate code (instead of a retry-style)
[m6w6/ext-http] / php_http_inflatestream_object.h
index 64c10e4d4caddd798a4a3b0b4882097778528bad..bc08afe1402ea3b78d9cfd6a5fe281659622db39 100644 (file)
@@ -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 <mike@php.net>            |
+    | Copyright (c) 2004-2006, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
@@ -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,6 +35,7 @@ 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, update);
 PHP_METHOD(HttpInflateStream, flush);
 PHP_METHOD(HttpInflateStream, finish);