diff options
author | Pierrick Charron <pierrick@php.net> | 2012-12-23 17:13:49 -0500 |
---|---|---|
committer | Pierrick Charron <pierrick@php.net> | 2012-12-23 17:13:49 -0500 |
commit | 33f44af1a773d271ec96bbec445d625313195176 (patch) | |
tree | e9df7f0bb52bfaf971d13bccdff03555fd50fcb4 /ext/curl/php_curl.h | |
parent | 4b4f3db73142799da71be14d73938456e918b3ac (diff) | |
download | php-git-33f44af1a773d271ec96bbec445d625313195176.tar.gz |
New curl_pause() function
Add the curl_pause function (binding of curl_easy_pause).
Using this function, you can explicitly mark a running connection
to get paused, and you can unpause a connection that was
previously paused.
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r-- | ext/curl/php_curl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index 2c97bcaca4..de8eb7efa5 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -100,6 +100,10 @@ PHP_FUNCTION(curl_unescape); PHP_FUNCTION(curl_multi_setopt); #endif +#if LIBCURL_VERSION_NUM >= 0x071200 /* 7.18.0 */ +PHP_FUNCTION(curl_pause); +#endif + void _php_curl_multi_close(zend_rsrc_list_entry * TSRMLS_DC); void _php_curl_share_close(zend_rsrc_list_entry * TSRMLS_DC); |