From 5f25d80d106004692dacb9c01cdc49c7c883a13a Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 24 Jan 2006 20:11:14 +0000 Subject: cURL extension news. --- ext/curl/php_curl.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ext/curl/php_curl.h') 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; -- cgit v1.2.1