From 6b8faeb1f23fa815c55c99fcab2079d5cbdcb3b3 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Fri, 20 Oct 2000 04:57:14 +0000 Subject: Fix CURLOPT_REFERER. @ Added the curl_getinfo() function to find out information about a CURL transfer. This function requires cURL 4.0 or above. (Sterling) @ Added the CURLOPT_KRB4, CURLOPT_INTERFACE, CURLOPT_QUOTE, CURLOPT_POSTQUOTE, CURLOPT_QUOTE and CURLOPT_HTTPPROXYTUNNELL options. (Sterling) --- ext/curl/php_curl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/curl/php_curl.h') diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index 19400e4b68..4841f45189 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -42,6 +42,9 @@ PHP_FUNCTION(curl_version); PHP_FUNCTION(curl_init); PHP_FUNCTION(curl_setopt); PHP_FUNCTION(curl_exec); +#if LIBCURL_VERSION_NUM >= 0x070401 +PHP_FUNCTION(curl_getinfo); +#endif PHP_FUNCTION(curl_error); PHP_FUNCTION(curl_errno); PHP_FUNCTION(curl_close); @@ -56,7 +59,7 @@ typedef struct { } php_curl; typedef struct { - int le_curl; + } php_curl_globals; #ifdef ZTS -- cgit v1.2.1