From 3de6a7d3b205ca151aa3e225d142056dc1b4ad3f Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Wed, 21 May 2003 23:15:28 +0000 Subject: switch over to using fast_call_user_function() with the callbacks --- ext/curl/php_curl.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'ext/curl/php_curl.h') 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 { -- cgit v1.2.1