less intrusive fix
[m6w6/ext-http] / php_http_headers.h
1 /*
2 +--------------------------------------------------------------------+
3 | PECL :: http |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2011, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
11 */
12
13 #ifndef PHP_HTTP_HEADERS_H
14 #define PHP_HTTP_HEADERS_H
15
16 #include "php_http_info.h"
17
18 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);
19
20 extern zend_class_entry *php_http_header_class_entry;
21 extern zend_function_entry php_http_header_method_entry[];
22
23 PHP_METHOD(HttpHeader, __construct);
24 PHP_METHOD(HttpHeader, toString);
25 PHP_METHOD(HttpHeader, unserialize);
26 PHP_METHOD(HttpHeader, match);
27
28 PHP_MINIT_FUNCTION(http_header);
29
30 #endif
31
32 /*
33 * Local variables:
34 * tab-width: 4
35 * c-basic-offset: 4
36 * End:
37 * vim600: noet sw=4 ts=4 fdm=marker
38 * vim<600: noet sw=4 ts=4
39 */
40