X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_headers.h;h=88a988a0192ec301fbbd08596395c22e9aa348ff;hp=0d67f127d1fa7d6c9b39de8b65a7002970bc89d3;hb=9da9c90ae841a731913fe3aec7463dced6378470;hpb=bd80b17b026a00a254ee8693cd7bacf1ebdec4cf diff --git a/php_http_headers.h b/php_http_headers.h index 0d67f12..88a988a 100644 --- a/php_http_headers.h +++ b/php_http_headers.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2011, Michael Wallner | + | Copyright (c) 2004-2013, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -17,13 +17,12 @@ 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_HTTP_API void php_http_headers_to_callback(HashTable *headers, zend_bool crlf, php_http_pass_format_callback_t cb, void *cb_arg TSRMLS_DC); +PHP_HTTP_API void php_http_headers_to_string(php_http_buffer_t *str, HashTable *headers TSRMLS_DC); -PHP_METHOD(HttpHeader, __construct); -PHP_METHOD(HttpHeader, serialize); -PHP_METHOD(HttpHeader, unserialize); -PHP_METHOD(HttpHeader, match); +PHP_HTTP_API zval *php_http_header_value_to_string(zval *header TSRMLS_DC); +PHP_HTTP_API zend_class_entry *php_http_header_class_entry; PHP_MINIT_FUNCTION(http_header); #endif