X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_encoding_api.h;h=cd5766f4968bf45caac281f8b6ff94aaae0b2fb5;hp=918c01316282c45f5069f144faf7297d88cfb813;hb=aca5a5a21e4514707a71cfa69cc19ae50a78f5d3;hpb=e37040ebf8a470c77c7ae3498ee582ca20db259c diff --git a/php_http_encoding_api.h b/php_http_encoding_api.h index 918c013..cd5766f 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-2007, 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