summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2000-10-20 04:57:14 +0000
committerSterling Hughes <sterling@php.net>2000-10-20 04:57:14 +0000
commit6b8faeb1f23fa815c55c99fcab2079d5cbdcb3b3 (patch)
tree70a09a928bbc0695962b2fd615a13f7f866cd145 /ext/curl/php_curl.h
parentd485e7fc29ecd0eee0da05fb78bda06bf197eb4b (diff)
downloadphp-git-6b8faeb1f23fa815c55c99fcab2079d5cbdcb3b3.tar.gz
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)
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h5
1 files changed, 4 insertions, 1 deletions
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