batch renaming: client*curl curl*client
[m6w6/ext-http] / php_http.c
index 202317c8fc9a3417ef38acee98049daabf3dac39..e3ee6ab69aced0bf96635c70eece58b780ba41a2 100644 (file)
@@ -140,13 +140,19 @@ PHP_MINIT_FUNCTION(http)
        || SUCCESS != PHP_MINIT_CALL(http_message_body)
        || SUCCESS != PHP_MINIT_CALL(http_property_proxy)
        || SUCCESS != PHP_MINIT_CALL(http_querystring)
-       || SUCCESS != PHP_MINIT_CALL(http_request_factory)
-       || SUCCESS != PHP_MINIT_CALL(http_request)
+       || SUCCESS != PHP_MINIT_CALL(http_client_interface)
+       || SUCCESS != PHP_MINIT_CALL(http_client)
+       || SUCCESS != PHP_MINIT_CALL(http_client_request)
+       || SUCCESS != PHP_MINIT_CALL(http_client_response)
+       || SUCCESS != PHP_MINIT_CALL(http_client_datashare)
+       || SUCCESS != PHP_MINIT_CALL(http_client_pool)
+       || SUCCESS != PHP_MINIT_CALL(http_client_factory)
 #if PHP_HTTP_HAVE_CURL
        || SUCCESS != PHP_MINIT_CALL(http_curl)
 #endif
-       || SUCCESS != PHP_MINIT_CALL(http_request_datashare)
-       || SUCCESS != PHP_MINIT_CALL(http_request_pool)
+       || SUCCESS != PHP_MINIT_CALL(http_curl_client)
+       || SUCCESS != PHP_MINIT_CALL(http_curl_client_pool)
+       || SUCCESS != PHP_MINIT_CALL(http_curl_client_datashare)
        || SUCCESS != PHP_MINIT_CALL(http_url)
        || SUCCESS != PHP_MINIT_CALL(http_env)
        || SUCCESS != PHP_MINIT_CALL(http_env_request)
@@ -170,8 +176,8 @@ PHP_MSHUTDOWN_FUNCTION(http)
 #if PHP_HTTP_HAVE_CURL
        || SUCCESS != PHP_MSHUTDOWN_CALL(http_curl)
 #endif
-       || SUCCESS != PHP_MSHUTDOWN_CALL(http_request_factory)
        || SUCCESS != PHP_MSHUTDOWN_CALL(http_persistent_handle)
+       || SUCCESS != PHP_MSHUTDOWN_CALL(http_client_factory)
        ) {
                return FAILURE;
        }
@@ -183,8 +189,8 @@ PHP_RINIT_FUNCTION(http)
 {
        if (0
        || SUCCESS != PHP_RINIT_CALL(http_env)
-#if PHP_HTTP_HAVE_CURL
-       || SUCCESS != PHP_RINIT_CALL(http_curl)
+#if PHP_HTTP_HAVE_CURL && PHP_HTTP_HAVE_EVENT
+       || SUCCESS != PHP_RINIT_CALL(http_curl_client_pool)
 #endif
        ) {
                return FAILURE;