X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_env.h;h=8fbc6c868e9a1d443b9e154c68c7f2aa3a5a9cbf;hb=7bdc434a56de6c8f3442e43c9bf8674245b0ee99;hp=5fb5e5b6a02f419cf730866af387e07cf16ff26c;hpb=dedad9f35cbeaee56e7cca145e378cc6548198e3;p=m6w6%2Fext-http diff --git a/php_http_env.h b/php_http_env.h index 5fb5e5b..8fbc6c8 100644 --- a/php_http_env.h +++ b/php_http_env.h @@ -6,12 +6,10 @@ | 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 @@ -43,7 +41,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 +86,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[];