summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2011-12-04 00:19:12 +0000
committerPierrick Charron <pierrick@php.net>2011-12-04 00:19:12 +0000
commit8253bdbb41b865351ccf42fc9ebd54784cd98ba9 (patch)
treec08c069c08d76489fb00bb27d99c31a1d416254d /ext/curl/php_curl.h
parent1efb3e94a79a811794abd6f8033314f49a82248d (diff)
downloadphp-git-8253bdbb41b865351ccf42fc9ebd54784cd98ba9.tar.gz
add CURLOPT_WILDCARDMATCH and CURLOPT_FNMATCH_FUNCTION
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 17bc05a984..537e87a839 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -124,7 +124,7 @@ typedef struct {
zval *func_name;
zend_fcall_info_cache fci_cache;
int method;
-} php_curl_progress;
+} php_curl_progress, php_curl_fnmatch;
typedef struct {
php_curl_write *write;
@@ -133,6 +133,9 @@ typedef struct {
zval *passwd;
zval *std_err;
php_curl_progress *progress;
+#if LIBCURL_VERSION_NUM >= 0x071500 /* Available since 7.21.0 */
+ php_curl_fnmatch *fnmatch;
+#endif
} php_curl_handlers;
struct _php_curl_error {