summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-01-24 20:11:14 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-01-24 20:11:14 +0000
commit5f25d80d106004692dacb9c01cdc49c7c883a13a (patch)
tree59ebfaff6672687b520c5faa7c2e0fb0ea06bffd /ext/curl/php_curl.h
parentd0e1a4fdca3fdddac07a559149877eb154fb3070 (diff)
downloadphp-git-5f25d80d106004692dacb9c01cdc49c7c883a13a.tar.gz
cURL extension news.
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index 87af141a80..d0d80584f2 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -63,6 +63,7 @@ PHP_FUNCTION(curl_version);
PHP_FUNCTION(curl_init);
PHP_FUNCTION(curl_copy_handle);
PHP_FUNCTION(curl_setopt);
+PHP_FUNCTION(curl_setopt_array);
PHP_FUNCTION(curl_exec);
PHP_FUNCTION(curl_getinfo);
PHP_FUNCTION(curl_error);
@@ -107,6 +108,11 @@ struct _php_curl_error {
int no;
};
+struct _php_curl_send_headers {
+ char *str;
+ size_t str_len;
+};
+
struct _php_curl_free {
zend_llist str;
zend_llist post;
@@ -116,6 +122,7 @@ struct _php_curl_free {
typedef struct {
struct _php_curl_error err;
struct _php_curl_free to_free;
+ struct _php_curl_send_headers header;
void ***thread_ctx;
CURL *cp;
php_curl_handlers *handlers;