X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_headers.c;h=24a4854a080bf713f22b83108140a99f636f812e;hp=b5a700e1a8668b3e0fccdbf994f60380af6a33b7;hb=8d05291f42b3b42159b3fe91492aa4862f3d4405;hpb=d3485e3b28336153dca690e872ffe1ddc60fedd2 diff --git a/php_http_headers.c b/php_http_headers.c index b5a700e..24a4854 100644 --- a/php_http_headers.c +++ b/php_http_headers.c @@ -6,18 +6,16 @@ | 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: http_headers_api.c 300300 2010-06-09 07:29:35Z mike $ */ - #include "php_http.h" PHP_HTTP_API STATUS php_http_headers_parse(const char *header, size_t length, HashTable *headers, php_http_info_callback_t callback_func, void **callback_data TSRMLS_DC) { php_http_header_parser_t ctx; - php_http_buffer buf; + php_http_buffer_t buf; php_http_buffer_from_string_ex(&buf, header, length); php_http_header_parser_init(&ctx TSRMLS_CC);