diff options
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r-- | ext/curl/php_curl.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index 20bf2643e7..d3abd8832c 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -28,6 +28,8 @@ #if HAVE_CURL +#include <curl/curl.h> + extern zend_module_entry curl_module_entry; #define curl_module_ptr &curl_module_entry @@ -88,16 +90,15 @@ PHP_FUNCTION(curl_close); #define C_LAST 45 #define CURLOPT_RETURNTRANSFER 500 -struct curl_file_id_table { - int id; +typedef struct { int return_transfer; - int output_to_file; - struct curl_file_id_table *next; -}; + int output_file; + int php_stdout; + CURL *cp; +} php_curl; typedef struct { int le_curl; - struct curl_file_id_table *output_node, *output_previous, output_start; } php_curl_globals; #ifdef ZTS |