- initialize default compression level
[m6w6/ext-http] / php_http.h
index 3bd580e251c47be9e896974c2ea1ce9ae8f177ac..223a4f63dbab25bd6f59450f95ac465c3ff3186c 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef PHP_EXT_HTTP_H
 #define PHP_EXT_HTTP_H
 
-#define HTTP_PEXT_VERSION "0.14.2"
+#define HTTP_PEXT_VERSION "0.15.0"
 
 /* make compile on Win32 */
 #ifdef HTTP_HAVE_CURL
@@ -132,6 +132,14 @@ PHP_FUNCTION(http_request_method_name);
 PHP_FUNCTION(http_build_query);
 #endif /* ZEND_ENGINE_2 */
 PHP_FUNCTION(ob_etaghandler);
+#ifdef HTTP_HAVE_ZLIB
+PHP_FUNCTION(http_gzencode);
+PHP_FUNCTION(http_gzdecode);
+PHP_FUNCTION(http_deflate);
+PHP_FUNCTION(http_inflate);
+PHP_FUNCTION(http_compress);
+PHP_FUNCTION(http_uncompress);
+#endif
 
 PHP_MINIT_FUNCTION(http);
 PHP_MSHUTDOWN_FUNCTION(http);