summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-05-03 14:59:46 +0000
committerPierre Joye <pajoye@php.net>2009-05-03 14:59:46 +0000
commit8e7031087a9fd8d7efa3341bde9f42290bf860f2 (patch)
tree22f5a31a72438a9cf6da970b77507df1ccd2d1d9 /ext/curl/php_curl.h
parent1e6e1ca304a2ea60829639e54eecf1895bcacd3a (diff)
downloadphp-git-8e7031087a9fd8d7efa3341bde9f42290bf860f2.tar.gz
- [DOC] MFH: #41712, implement progress callback
- add constants CURLOPT_PROGRESSFUNCTION
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index 6f2931a7bc..e71ce2a125 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -97,10 +97,17 @@ typedef struct {
} php_curl_read;
typedef struct {
+ zval *func_name;
+ zend_fcall_info_cache fci_cache;
+ int method;
+} php_curl_progress;
+
+typedef struct {
php_curl_write *write;
php_curl_write *write_header;
php_curl_read *read;
zval *passwd;
+ php_curl_progress *progress;
} php_curl_handlers;
struct _php_curl_error {