From: Michael Wallner Date: Tue, 3 May 2005 14:26:41 +0000 (+0000) Subject: - fix decl X-Git-Tag: RELEASE_0_8_0~32 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=dcb81c9d8d094963a257d58f2a0536f6d1954b10;p=m6w6%2Fext-http - fix decl --- diff --git a/php_http_headers_api.h b/php_http_headers_api.h index f831ccd..ae3748a 100644 --- a/php_http_headers_api.h +++ b/php_http_headers_api.h @@ -34,7 +34,7 @@ PHP_HTTP_API void _http_parse_headers_default_callback(const char *http_line, Ha #define http_parse_headers(h, a) _http_parse_headers_ex((h), Z_ARRVAL_P(a), 1, _http_parse_headers_default_callback, NULL TSRMLS_CC) #define http_parse_headers_ex(h, ht, p) _http_parse_headers_ex((h), (ht), (p), _http_parse_headers_default_callback, NULL TSRMLS_CC) #define http_parse_headers_cb(h, ht, p, f, d) _http_parse_headers_ex((h), (ht), (p), (f), (d) TSRMLS_CC) -PHP_HTTP_API STATUS _http_parse_headers_ex(const char *header, HashTable *headers, zend_bool prettify, http_parse_headers_callback_t func, void *callback_data TSRMLS_DC); +PHP_HTTP_API STATUS _http_parse_headers_ex(const char *header, HashTable *headers, zend_bool prettify, http_parse_headers_callback_t func, void **callback_data TSRMLS_DC); #define http_parse_cookie(c, ht) _http_parse_cookie((c), (ht) TSRMLS_CC) PHP_HTTP_API STATUS _http_parse_cookie(const char *cookie, HashTable *values TSRMLS_DC);