projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
less intrusive fix
[m6w6/ext-http]
/
php_http_encoding.h
diff --git
a/php_http_encoding.h
b/php_http_encoding.h
index 9e700a774bc4f0f5689590c940c309926c06d00b..603880a7ca94fb02f3f033ab9cd80d30b85831f5 100644
(file)
--- 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. |
+--------------------------------------------------------------------+
| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-201
0
, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-201
1
, 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
#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);
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) \
#define PHP_HTTP_INFLATE_ROUNDS 100
#define PHP_HTTP_DEFLATE_BUFFER_SIZE_GUESS(S) \