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=2be22e84d69e07de423521f20965363a706636ac;hpb=9c12b0d0fd94e5c026cc4d7e899cee0b61859d4f 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)