X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_api.h;h=2c54e2b3acfd939036e189843e52225f99c82a6a;hb=389e280e0bba312ff5ca9981801cc842dad26ec2;hp=628837c90c6a9941daed926ab0e1d849d904086f;hpb=960586b99568624a207faa24fe56233582b6d0dc;p=m6w6%2Fext-http diff --git a/php_http_api.h b/php_http_api.h index 628837c..2c54e2b 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2005, Michael Wallner | + | Copyright (c) 2004-2006, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -124,6 +124,8 @@ PHP_HTTP_API zval *_http_get_server_var_ex(const char *key, size_t key_size, zen #define http_get_request_body_ex(b, l, d) _http_get_request_body_ex((b), (l), (d) TSRMLS_CC) PHP_HTTP_API STATUS _http_get_request_body_ex(char **body, size_t *length, zend_bool dup TSRMLS_DC); +#define http_get_request_body_stream() _http_get_request_body_stream(TSRMLS_C) +PHP_HTTP_API php_stream *_http_get_request_body_stream(TSRMLS_D); #define http_locate_body _http_locate_body static inline const char *_http_locate_body(const char *message)