X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_client_curl_user.h;h=a6ea847f8ca751061a84fce4c20b5c2973917427;hp=35f5d6fa977e4ba00d0e00cbf806f52c3d7f0d23;hb=567a61130ed7f4fd7b47fe104ec32990f84bc06e;hpb=43a9a6f8cb56e25c3770d652ce77045f89f68ca6 diff --git a/src/php_http_client_curl_user.h b/src/php_http_client_curl_user.h index 35f5d6f..a6ea847 100644 --- a/src/php_http_client_curl_user.h +++ b/src/php_http_client_curl_user.h @@ -13,7 +13,7 @@ #ifndef PHP_HTTP_CLIENT_CURL_USER_H #define PHP_HTTP_CLIENT_CURL_USER_H -#if PHP_HTTP_HAVE_CURL +#if PHP_HTTP_HAVE_LIBCURL typedef struct php_http_client_curl_user_context { php_http_client_t *client; @@ -50,7 +50,7 @@ interface http\Client\Curl\User * - timeout occurs * - a watched socket needs action * - * @param callable $run callback as function(http\Client $client, resource $socket = null, int $action = http\Client\Curl\User::POLL_NONE) + * @param callable $run callback as function(http\Client $client, resource $socket = null, int $action = http\Client\Curl\User::POLL_NONE):int (returns unfinished requests pending) */ function init(callable $run);