X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_client_curl.h;h=91286477d76514b4511ecd37d1fb9844a3aadf4a;hp=6495568b40a84b26348e6ef6091f586aecacfc1e;hb=3e3f308c565cea1b153717f213d61731aef2fcf4;hpb=0b83632b2b0a03eeca090f993259ccd95ab646fb diff --git a/php_http_client_curl.h b/php_http_client_curl.h index 6495568..9128647 100644 --- a/php_http_client_curl.h +++ b/php_http_client_curl.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2013, Michael Wallner | + | Copyright (c) 2004-2014, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -15,15 +15,10 @@ #if PHP_HTTP_HAVE_CURL -#if PHP_HTTP_HAVE_EVENT -struct php_http_curl_globals { - void *event_base; +struct php_http_client_curl_globals { + php_http_client_driver_t driver; }; -PHP_RINIT_FUNCTION(http_client_curl); -PHP_RSHUTDOWN_FUNCTION(http_client_curl); -#endif /* PHP_HTTP_HAVE_EVENT */ - PHP_MINIT_FUNCTION(http_client_curl); PHP_MSHUTDOWN_FUNCTION(http_client_curl); #endif /* PHP_HTTP_HAVE_CURL */