X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_api.h;h=5aa96b7efcdb821bfdd46e9a5451a0c125e73cbd;hb=fb8725f76a3552eb157620c07bbef60cdcd632c2;hp=1a848b299486c555ae51aa70d5d1fddceaaab9ec;hpb=03f11ce599fa5a89148d588caf6ccec7f939e9d4;p=m6w6%2Fext-http diff --git a/php_http_api.h b/php_http_api.h index 1a848b2..5aa96b7 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -109,6 +109,13 @@ ZEND_BEGIN_MODULE_GLOBALS(php_http) struct php_http_env_globals env; +#ifdef PHP_HTTP_HAVE_CLIENT + struct { +#ifdef PHP_HTTP_HAVE_CURL + struct php_http_client_curl_globals curl; +#endif + } client; +#endif ZEND_END_MODULE_GLOBALS(php_http) ZEND_EXTERN_MODULE_GLOBALS(php_http);