X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_api.h;h=9055e6616e4d1f2f40e8f49aa028ab52a42d1aa9;hp=e9c6b3c34f18b09275d7bb8cb3a2024e5e0e1434;hb=3ba84fa5b16b08a82d054d06d6db5201a7195dd8;hpb=2b11d658205415281ebf506a8409e7588be5f590 diff --git a/php_http_api.h b/php_http_api.h index e9c6b3c..9055e66 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -158,6 +158,9 @@ PHP_HTTP_API STATUS _http_split_response(const zval *zresponse, zval *zheaders, #define http_parse_headers(h, l, a) _http_parse_headers((h), (l), (a) TSRMLS_CC) PHP_HTTP_API STATUS _http_parse_headers(char *header, int header_len, zval *array TSRMLS_DC); +#define http_get_request_headers(h) _http_get_request_headers((h) TSRMLS_CC) +PHP_HTTP_API void _http_get_request_headers(zval *array TSRMLS_DC); + /* {{{ HAVE_CURL */ #ifdef HTTP_HAVE_CURL