2 +--------------------------------------------------------------------+
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-2013, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
13 #ifndef PHP_HTTP_HEADERS_H
14 #define PHP_HTTP_HEADERS_H
16 #include "php_http_info.h"
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
);
20 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
);
21 PHP_HTTP_API
void php_http_headers_to_string(php_http_buffer_t
*str
, HashTable
*headers TSRMLS_DC
);
23 PHP_HTTP_API zval
*php_http_header_value_to_string(zval
*header TSRMLS_DC
);
25 PHP_HTTP_API zend_class_entry
*php_http_header_class_entry
;
26 PHP_MINIT_FUNCTION(http_header
);
35 * vim600: noet sw=4 ts=4 fdm=marker
36 * vim<600: noet sw=4 ts=4