summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2013-04-23 17:01:17 -0400
committerPierrick Charron <pierrick@php.net>2013-04-23 17:01:17 -0400
commitb79e65f268d8f368a1088313735eda3ca485fa53 (patch)
treea5183bc8c8b9cd12fd93066d276ceff723ebcf62 /ext/curl/php_curl.h
parent758b666c0ad6edb48274858d2e11c53460787b88 (diff)
downloadphp-git-b79e65f268d8f368a1088313735eda3ca485fa53.tar.gz
Remove curl wrappers
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index c4222c0588..9e98fe57cd 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -200,38 +200,6 @@ 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);
-/* streams support */
-
-extern php_stream_ops php_curl_stream_ops;
-#define PHP_STREAM_IS_CURL &php_curl_stream_ops
-
-php_stream *php_curl_stream_opener(php_stream_wrapper *wrapper, char *filename, char *mode,
- int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
-
-extern php_stream_wrapper php_curl_wrapper;
-
-struct php_curl_buffer {
- off_t readpos, writepos;
- php_stream *buf;
-};
-
-typedef struct {
- CURL *curl;
- CURLM *multi;
- char *url;
- struct php_curl_buffer readbuffer; /* holds downloaded data */
- struct php_curl_buffer writebuffer; /* holds data to upload */
-
- fd_set readfds, writefds, excfds;
- int maxfd;
-
- char errstr[CURL_ERROR_SIZE + 1];
- CURLMcode mcode;
- int pending;
- zval *headers;
- struct curl_slist *headers_slist; /* holds custom headers sent out in the request */
-} php_curl_stream;
-
void curlfile_register_class(TSRMLS_D);
PHP_CURL_API extern zend_class_entry *curl_CURLFile_class;