X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_encoding.h;h=603880a7ca94fb02f3f033ab9cd80d30b85831f5;hp=9e700a774bc4f0f5689590c940c309926c06d00b;hb=14aec371d6123fbedbe13ca73b6a6d5768c635cb;hpb=d3485e3b28336153dca690e872ffe1ddc60fedd2 diff --git a/php_http_encoding.h b/php_http_encoding.h index 9e700a7..603880a 100644 --- a/php_http_encoding.h +++ b/php_http_encoding.h @@ -6,27 +6,17 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2010, Michael Wallner | + | Copyright (c) 2004-2011, Michael Wallner | +--------------------------------------------------------------------+ */ -/* $Id: php_http_encoding_api.h 292841 2009-12-31 08:48:57Z mike $ */ - #ifndef PHP_HTTP_ENCODING_H #define PHP_HTTP_ENCODING_H -PHP_HTTP_API int php_http_encoding_response_start(size_t content_length, zend_bool ignore_http_ohandler TSRMLS_DC); - extern PHP_MINIT_FUNCTION(http_encoding); extern PHP_RINIT_FUNCTION(http_encoding); extern PHP_RSHUTDOWN_FUNCTION(http_encoding); -typedef enum php_http_encoding_type { - PHP_HTTP_ENCODING_NONE, - PHP_HTTP_ENCODING_GZIP, - PHP_HTTP_ENCODING_DEFLATE, -} php_http_encoding_type_t; - #define PHP_HTTP_INFLATE_ROUNDS 100 #define PHP_HTTP_DEFLATE_BUFFER_SIZE_GUESS(S) \