summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2011-11-24 12:49:11 +0000
committerPierrick Charron <pierrick@php.net>2011-11-24 12:49:11 +0000
commit70136445cb70cc94dc5535c4daac209f9317ea71 (patch)
tree10130a6c6a4c2812ed8e43230e619607fb069fd4 /ext/curl/php_curl.h
parent89193ecf61e2fef17e63683b9b77bce8b27f937b (diff)
downloadphp-git-70136445cb70cc94dc5535c4daac209f9317ea71.tar.gz
Revert commit r319729 until I have a clean version for non-ZTS
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index d44a175e6e..6acfc5eedd 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -53,8 +53,6 @@ extern int le_curl;
#define le_curl_name "cURL handle"
extern int le_curl_multi_handle;
#define le_curl_multi_handle_name "cURL Multi Handle"
-extern int le_curl_share_handle;
-#define le_curl_share_handle_name "cURL Share Handle"
PHP_MINIT_FUNCTION(curl);
PHP_MSHUTDOWN_FUNCTION(curl);
@@ -77,12 +75,7 @@ PHP_FUNCTION(curl_multi_exec);
PHP_FUNCTION(curl_multi_getcontent);
PHP_FUNCTION(curl_multi_info_read);
PHP_FUNCTION(curl_multi_close);
-PHP_FUNCTION(curl_share_init);
-PHP_FUNCTION(curl_share_close);
-PHP_FUNCTION(curl_share_setopt);
-
void _php_curl_multi_close(zend_rsrc_list_entry * TSRMLS_DC);
-void _php_curl_share_close(zend_rsrc_list_entry * TSRMLS_DC);
typedef struct {
zval *func_name;
@@ -152,11 +145,6 @@ typedef struct {
zend_llist easyh;
} php_curlm;
-typedef struct {
- CURLSH *share;
- MUTEX_T locks[CURL_LOCK_DATA_LAST];
-} php_curlsh;
-
void _php_curl_cleanup_handle(php_curl *);
void _php_curl_multi_cleanup_list(void *data);
int _php_curl_verify_handlers(php_curl *ch, int reporterror TSRMLS_DC);