X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_env.h;h=62e22cd1babbc0bdfd9605407833f78ba72891ef;hb=59ffe749e2571c7e4bf0cce12997f95f350bd58c;hp=5fb5e5b6a02f419cf730866af387e07cf16ff26c;hpb=dedad9f35cbeaee56e7cca145e378cc6548198e3;p=m6w6%2Fext-http diff --git a/php_http_env.h b/php_http_env.h index 5fb5e5b..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); @@ -88,7 +85,6 @@ PHP_METHOD(HttpEnv, negotiateContentType); PHP_METHOD(HttpEnv, negotiate); PHP_METHOD(HttpEnv, persistentHandlesStat); PHP_METHOD(HttpEnv, persistentHandlesClean); -PHP_METHOD(HttpEnv, parseParams); extern zend_class_entry *php_http_env_request_class_entry; extern zend_function_entry php_http_env_request_method_entry[];