diff options
author | Sterling Hughes <sterling@php.net> | 2003-05-21 23:15:28 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2003-05-21 23:15:28 +0000 |
commit | 3de6a7d3b205ca151aa3e225d142056dc1b4ad3f (patch) | |
tree | 8326eefced3db6bf1cf49ef832608701930e9435 /ext/curl/php_curl.h | |
parent | 1611ebd45e14ba5b93353eece677ca7fccc5e5ae (diff) | |
download | php-git-3de6a7d3b205ca151aa3e225d142056dc1b4ad3f.tar.gz |
switch over to using fast_call_user_function() with the callbacks
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r-- | ext/curl/php_curl.h | 20 |
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 { |