X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_headers.h;h=870957467360ee2b9108c7ddff3e650a33ba6ee5;hb=565b1721506d335bd2fc8b52126b3827eb7212e4;hp=8cc0b8aaafadad78bb978cafea96e70feea2d3b0;hpb=d3485e3b28336153dca690e872ffe1ddc60fedd2;p=m6w6%2Fext-http diff --git a/php_http_headers.h b/php_http_headers.h index 8cc0b8a..8709574 100644 --- a/php_http_headers.h +++ b/php_http_headers.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: php_http_headers_api.h 300300 2010-06-09 07:29:35Z mike $ */ - #ifndef PHP_HTTP_HEADERS_H #define PHP_HTTP_HEADERS_H @@ -19,6 +17,17 @@ 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); +zend_class_entry *php_http_header_get_class_entry(void); + +PHP_METHOD(HttpHeader, __construct); +PHP_METHOD(HttpHeader, serialize); +PHP_METHOD(HttpHeader, unserialize); +PHP_METHOD(HttpHeader, match); +PHP_METHOD(HttpHeader, negotiate); +PHP_METHOD(HttpHeader, parse); + +PHP_MINIT_FUNCTION(http_header); + #endif /*