From dd17e18f41439ecf04eda48420771e1753ee77cd Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Fri, 15 May 2015 02:18:53 +0200 Subject: Add dictionary option to {in,de}flate_init() --- ext/zlib/php_zlib.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/zlib/php_zlib.h') 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); -- cgit v1.2.1