X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_encoding_api.h;h=ca4ac8dcc889a432abca0088f48771431093c57b;hp=918c01316282c45f5069f144faf7297d88cfb813;hb=refs%2Fheads%2Fv1.7.x;hpb=e37040ebf8a470c77c7ae3498ee582ca20db259c diff --git a/php_http_encoding_api.h b/php_http_encoding_api.h index 918c013..ca4ac8d 100644 --- a/php_http_encoding_api.h +++ b/php_http_encoding_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2006, Michael Wallner | + | Copyright (c) 2004-2010, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -18,8 +18,8 @@ #define http_encoding_dechunk(e, el, d, dl) _http_encoding_dechunk((e), (el), (d), (dl) TSRMLS_CC) PHP_HTTP_API const char *_http_encoding_dechunk(const char *encoded, size_t encoded_len, char **decoded, size_t *decoded_len TSRMLS_DC); -#define http_encoding_response_start(cl) _http_encoding_response_start((cl) TSRMLS_CC) -PHP_HTTP_API int _http_encoding_response_start(size_t content_length TSRMLS_DC); +#define http_encoding_response_start(cl, i) _http_encoding_response_start((cl), (i) TSRMLS_CC) +PHP_HTTP_API int _http_encoding_response_start(size_t content_length, zend_bool ignore_http_ohandler TSRMLS_DC); #ifdef HTTP_HAVE_ZLIB @@ -47,7 +47,7 @@ typedef enum _http_encoding_type_t { #define HTTP_DEFLATE_LEVEL_DEF 0x00000000 #define HTTP_DEFLATE_LEVEL_MIN 0x00000001 -#define HTTP_DEFLATE_LEVEL_MAX 0x00000002 +#define HTTP_DEFLATE_LEVEL_MAX 0x00000009 #define HTTP_DEFLATE_TYPE_ZLIB 0x00000000 #define HTTP_DEFLATE_TYPE_GZIP 0x00000010 #define HTTP_DEFLATE_TYPE_RAW 0x00000020