diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-05-15 02:18:53 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-05-15 02:28:38 +0200 |
commit | dd17e18f41439ecf04eda48420771e1753ee77cd (patch) | |
tree | f2ccb24d745d03e5623f5e0aa42e25ec33aef089 /ext/zlib/php_zlib.h | |
parent | a129ded3c18e9446ca75c12d03f678177808a26e (diff) | |
download | php-git-dd17e18f41439ecf04eda48420771e1753ee77cd.tar.gz |
Add dictionary option to {in,de}flate_init()
Diffstat (limited to 'ext/zlib/php_zlib.h')
-rw-r--r-- | ext/zlib/php_zlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/zlib/php_zlib.h b/ext/zlib/php_zlib.h index 6da5e2e543..b69c948523 100644 --- a/ext/zlib/php_zlib.h +++ b/ext/zlib/php_zlib.h @@ -47,6 +47,8 @@ typedef struct _php_zlib_buffer { typedef struct _php_zlib_context { z_stream Z; + char *inflateDict; + size_t inflateDictlen; php_zlib_buffer buffer; } php_zlib_context; @@ -57,7 +59,7 @@ ZEND_BEGIN_MODULE_GLOBALS(zlib) char *output_handler; php_zlib_context *ob_gzhandler; zend_long output_compression_default; - zend_bool handler_registered; + zend_bool handler_registered; int compression_coding; ZEND_END_MODULE_GLOBALS(zlib); |