diff options
author | Sterling Hughes <sterling@php.net> | 2001-05-04 04:20:38 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2001-05-04 04:20:38 +0000 |
commit | 1ae44c8e49ebd11f183cb24b935709c787f485e6 (patch) | |
tree | f706d47a942684420ffef2fa2dae2c4e318ac84a /ext/curl/php_curl.h | |
parent | 93e75216393b95f8ae73f8bdc9d1d65c3903f183 (diff) | |
download | php-git-1ae44c8e49ebd11f183cb24b935709c787f485e6.tar.gz |
Make it compile with the latest cURL cvs, heck it even works.
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r-- | ext/curl/php_curl.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index 326318e75a..5f97bb4841 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -53,19 +53,23 @@ PHP_FUNCTION(curl_close); typedef struct { zval *func; + FILE *fp; smart_str buf; int method; } php_curl_write; typedef struct { zval *func; + FILE *fp; long fd; int method; } php_curl_read; typedef struct { - zval *write_header; - zval *passwd; + php_curl_write *write; + php_curl_read *read; + zval *write_header; + zval *passwd; } php_curl_handlers; struct _php_curl_error { @@ -81,8 +85,6 @@ struct _php_curl_free { typedef struct { CURL *cp; - php_curl_write *write; - php_curl_read *read; php_curl_handlers *handlers; struct _php_curl_error err; struct _php_curl_free to_free; |