rename http\Env\Request::getPost() to getForm(), because it actually retrieves form...
[m6w6/ext-http] / php_http_headers.h
index 8cc0b8aaafadad78bb978cafea96e70feea2d3b0..bb6b19f8bc95f4c3f2d977f956f739ca35a63eae 100644 (file)
@@ -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 <mike@php.net>            |
+    | Copyright (c) 2004-2011, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
-/* $Id: php_http_headers_api.h 300300 2010-06-09 07:29:35Z mike $ */
-
 #ifndef PHP_HTTP_HEADERS_H
 #define PHP_HTTP_HEADERS_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);
 
+extern zend_class_entry *php_http_header_class_entry;
+extern zend_function_entry php_http_header_method_entry[];
+
+PHP_METHOD(HttpHeader, __construct);
+PHP_METHOD(HttpHeader, toString);
+PHP_METHOD(HttpHeader, unserialize);
+PHP_METHOD(HttpHeader, match);
+
+PHP_MINIT_FUNCTION(http_header);
+
 #endif
 
 /*