projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- fix tests
[m6w6/ext-http]
/
php_http_inflatestream_object.h
diff --git
a/php_http_inflatestream_object.h
b/php_http_inflatestream_object.h
index 64c10e4d4caddd798a4a3b0b4882097778528bad..3a090139219e9a09bb9b07afb4eaaba06ca19d8d 100644
(file)
--- 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. |
+--------------------------------------------------------------------+
| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-200
5
, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-200
7
, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
+--------------------------------------------------------------------+
*/
@@
-14,9
+14,10
@@
#ifndef PHP_HTTP_INFLATESTREAM_OBJECT_H
#define PHP_HTTP_INFLATESTREAM_OBJECT_H
#ifndef PHP_HTTP_INFLATESTREAM_OBJECT_H
#define PHP_HTTP_INFLATESTREAM_OBJECT_H
-#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_ZLIB)
+#ifdef HTTP_HAVE_ZLIB
+#ifdef ZEND_ENGINE_2
-typedef struct {
+typedef struct
_http_inflatestream_object_t
{
zend_object zo;
http_encoding_stream *stream;
} http_inflatestream_object;
zend_object zo;
http_encoding_stream *stream;
} http_inflatestream_object;
@@
-35,10
+36,13
@@
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);
#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);
PHP_METHOD(HttpInflateStream, update);
PHP_METHOD(HttpInflateStream, flush);
PHP_METHOD(HttpInflateStream, finish);
+#endif
#endif
#endif
#endif
#endif