- fix typo
[m6w6/ext-http] / http_request_datashare_api.c
index 4983377dd0e3a34ebfb1fbdeda2e8e736f1d24b3..efcdb848e657fd346b637a41560480ae4bddcbe5 100644 (file)
@@ -32,6 +32,11 @@ static int http_request_datashare_compare_handles(void *h1, void *h2);
 static void http_request_datashare_lock_func(CURL *handle, curl_lock_data data, curl_lock_access locktype, void *userptr);
 static void http_request_datashare_unlock_func(CURL *handle, curl_lock_data data, void *userptr);
 
+http_request_datashare *_http_request_datashare_global_get(void)
+{
+       return &http_request_datashare_global;
+}
+
 PHP_MINIT_FUNCTION(http_request_datashare)
 {
        curl_lock_data val;