| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-2010, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-2011, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
-/* $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) \