- initialize default compression level
[m6w6/ext-http] / http.c
diff --git a/http.c b/http.c
index 26bcf0f1e35580c0bff50a590f380ba644472801..060d55b96524c9535713bc3ce4f515ae903b7c0a 100644 (file)
--- a/http.c
+++ b/http.c
@@ -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
 };