summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index 7680f93dc3..46f7bc3a2b 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -78,18 +78,20 @@ PHP_FUNCTION(curl_multi_close);
void _php_curl_multi_close(zend_rsrc_list_entry *);
typedef struct {
- zval *func;
- FILE *fp;
- smart_str buf;
- int method;
- int type;
+ zval *func_name;
+ zend_function *func_ptr;
+ FILE *fp;
+ smart_str buf;
+ int method;
+ int type;
} php_curl_write;
typedef struct {
- zval *func;
- FILE *fp;
- long fd;
- int method;
+ zval *func_name;
+ zend_function *func_ptr;
+ FILE *fp;
+ long fd;
+ int method;
} php_curl_read;
typedef struct {