summaryrefslogtreecommitdiff
path: root/ext/zlib/php_zlib.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-03-06 20:43:54 +0000
committerZeev Suraski <zeev@php.net>2001-03-06 20:43:54 +0000
commit0b65578ec7e55e50b8b260ae39e2edd0f9ef5c14 (patch)
tree0bf8f414d7ea0d540e53a2a13018575a4ce18686 /ext/zlib/php_zlib.h
parent9a04f870ab601e9c221b266533ab8e20f00e8116 (diff)
downloadphp-git-0b65578ec7e55e50b8b260ae39e2edd0f9ef5c14.tar.gz
Implement internal output compression?\0020:wq
Diffstat (limited to 'ext/zlib/php_zlib.h')
-rw-r--r--ext/zlib/php_zlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/zlib/php_zlib.h b/ext/zlib/php_zlib.h
index 43c68f2b2d..11884c7883 100644
--- a/ext/zlib/php_zlib.h
+++ b/ext/zlib/php_zlib.h
@@ -33,6 +33,8 @@ typedef struct {
z_stream stream;
uLong crc;
int ob_gzhandler_status;
+ int ob_gzip_coding;
+ int output_compression;
} php_zlib_globals;
extern zend_module_entry php_zlib_module_entry;
@@ -64,6 +66,7 @@ PHP_FUNCTION(gzencode);
PHP_FUNCTION(ob_gzhandler);
FILE *zlib_fopen_wrapper(char *path, char *mode, int options, int *issock, int *socketd, char **opened_path);
+int php_enable_output_compression(int buffer_size);
#ifdef ZTS