X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=060d55b96524c9535713bc3ce4f515ae903b7c0a;hp=2402ccba6b7fd761c9ac943106306833f38c5430;hb=6541b0935ad5edc8e45b4a99c5e3f67812489bca;hpb=2e1cd7f9942bb07d7c3a2efb79090215fc1406d6 diff --git a/http.c b/http.c index 2402ccb..060d55b 100644 --- a/http.c +++ b/http.c @@ -77,8 +77,8 @@ zend_function_entry http_functions[] = { PHP_FE(http_date, NULL) PHP_FE(http_build_uri, NULL) PHP_FALIAS(http_absolute_uri, http_build_uri, NULL) - PHP_FE(http_negotiate_language, NULL) - PHP_FE(http_negotiate_charset, NULL) + PHP_FE(http_negotiate_language, http_arg_pass_ref_2) + PHP_FE(http_negotiate_charset, http_arg_pass_ref_2) PHP_FE(http_redirect, NULL) PHP_FE(http_throttle, NULL) PHP_FE(http_send_status, NULL) @@ -114,6 +114,14 @@ zend_function_entry http_functions[] = { PHP_FE(http_build_query, NULL) #endif PHP_FE(ob_etaghandler, NULL) +#ifdef HTTP_HAVE_ZLIB + PHP_FE(http_gzencode, NULL) + PHP_FE(http_gzdecode, NULL) + PHP_FE(http_deflate, NULL) + PHP_FE(http_inflate, NULL) + PHP_FE(http_compress, NULL) + PHP_FE(http_uncompress, NULL) +#endif EMPTY_FUNCTION_ENTRY };