X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_headers_api.h;h=8b3b95f1771e7309118fb6f25369fd2107c8a4b8;hp=dbf1a439e3bb0cc5cda26b5ad8939228e31dfa26;hb=e103c61ca14d22e9507379810e980075c8323ca3;hpb=d846c6b54ce494f8d6723d7c1442995a26b48485 diff --git a/php_http_headers_api.h b/php_http_headers_api.h index dbf1a43..8b3b95f 100644 --- a/php_http_headers_api.h +++ b/php_http_headers_api.h @@ -32,8 +32,7 @@ typedef enum { RANGE_ERR } http_range_status; -#define http_headers_global_init() _http_headers_global_init(INIT_FUNC_ARGS_PASSTHRU) -extern STATUS _http_headers_global_init(INIT_FUNC_ARGS); +extern PHP_MINIT_FUNCTION(http_headers); #define http_parse_headers(h, a) _http_parse_headers_ex((h), Z_ARRVAL_P(a), 1, http_info_default_callback, NULL TSRMLS_CC) #define http_parse_headers_ex(h, ht, p) _http_parse_headers_ex((h), (ht), (p), http_info_default_callback, NULL TSRMLS_CC)