projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
tag 1.7.4
[m6w6/ext-http]
/
php_http_deflatestream_object.h
diff --git
a/php_http_deflatestream_object.h
b/php_http_deflatestream_object.h
index 13c33506c602d78ed29bad18c17d6541d1b66136..3d20328f43adaf13c2db9ab7e634682875b6f3a7 100644
(file)
--- 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. |
+--------------------------------------------------------------------+
| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-20
06
, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-20
10
, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
+--------------------------------------------------------------------+
*/
@@
-14,9
+14,10
@@
#ifndef PHP_HTTP_DEFLATESTREAM_OBJECT_H
#define PHP_HTTP_DEFLATESTREAM_OBJECT_H
#ifndef PHP_HTTP_DEFLATESTREAM_OBJECT_H
#define PHP_HTTP_DEFLATESTREAM_OBJECT_H
-#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_ZLIB)
+#ifdef HTTP_HAVE_ZLIB
+#ifdef ZEND_ENGINE_2
-typedef struct {
+typedef struct
_http_deflatestream_object_t
{
zend_object zo;
http_encoding_stream *stream;
} http_deflatestream_object;
zend_object zo;
http_encoding_stream *stream;
} http_deflatestream_object;
@@
-36,10
+37,12
@@
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);
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);
PHP_METHOD(HttpDeflateStream, update);
PHP_METHOD(HttpDeflateStream, flush);
PHP_METHOD(HttpDeflateStream, finish);
+#endif
#endif
#endif
#endif
#endif