X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_headers.h;h=8eae254e1077075525d92bc40c53e432e4c4a4ce;hp=238efb6bd4cb55daf496374d1c72bd1507b8cdb1;hb=4ebb73feef38aea0560abf7c3a9435dda4d77820;hpb=c575f6e9c391f0b89fe3f40391fdea143ffda23b diff --git a/php_http_headers.h b/php_http_headers.h index 238efb6..8eae254 100644 --- a/php_http_headers.h +++ b/php_http_headers.h @@ -17,6 +17,11 @@ 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); +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_HTTP_API zval *php_http_header_value_to_string(zval *header TSRMLS_DC); + zend_class_entry *php_http_header_get_class_entry(void); PHP_METHOD(HttpHeader, __construct);