X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_env.h;h=62e22cd1babbc0bdfd9605407833f78ba72891ef;hp=94fff29c28aa2395aa6fe2b75bdc445266829d56;hb=2e9ac0202f2c5f1cb94e0afd4b66c1c35c316284;hpb=4d708279b6956fc95b253ddc88671fb2f0e5aa39 diff --git a/php_http_env.h b/php_http_env.h index 94fff29..62e22cd 100644 --- a/php_http_env.h +++ b/php_http_env.h @@ -6,17 +6,14 @@ | 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$ */ - #ifndef PHP_HTTP_ENV_H #define PHP_HTTP_ENV_H #include "php_http_message_body.h" -#include "php_http_encoding.h" #include "php_http_version.h" struct php_http_env_globals { @@ -43,7 +40,7 @@ typedef enum php_http_range_status { PHP_HTTP_API php_http_range_status_t php_http_env_get_request_ranges(HashTable *ranges, size_t entity_length TSRMLS_DC); PHP_HTTP_API void php_http_env_get_request_headers(HashTable *headers TSRMLS_DC); -PHP_HTTP_API char *php_http_env_get_request_header(const char *name_str, size_t name_len TSRMLS_DC); +PHP_HTTP_API char *php_http_env_get_request_header(const char *name_str, size_t name_len, size_t *len TSRMLS_DC); PHP_HTTP_API int php_http_env_got_request_header(const char *name_str, size_t name_len TSRMLS_DC); PHP_HTTP_API php_http_message_body_t *php_http_env_get_request_body(TSRMLS_D);