X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_headers.h;h=238efb6bd4cb55daf496374d1c72bd1507b8cdb1;hb=6dec39305b19e86425d30d10bff7fa788d3d83ab;hp=bb6b19f8bc95f4c3f2d977f956f739ca35a63eae;hpb=abbb42df325117e48521ab7f71b37c5338d20252;p=m6w6%2Fext-http diff --git a/php_http_headers.h b/php_http_headers.h index bb6b19f..238efb6 100644 --- a/php_http_headers.h +++ b/php_http_headers.h @@ -17,13 +17,15 @@ 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[]; +zend_class_entry *php_http_header_get_class_entry(void); PHP_METHOD(HttpHeader, __construct); -PHP_METHOD(HttpHeader, toString); +PHP_METHOD(HttpHeader, serialize); PHP_METHOD(HttpHeader, unserialize); PHP_METHOD(HttpHeader, match); +PHP_METHOD(HttpHeader, negotiate); +PHP_METHOD(HttpHeader, getParams); +PHP_METHOD(HttpHeader, parse); PHP_MINIT_FUNCTION(http_header);