summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2002-03-18 18:00:24 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2002-03-18 18:00:24 +0000
commitc19dfe84c75e0bbae633d554cbf3d28e6caff3a9 (patch)
tree80ae79b3ab6a880ac1ab6190c90e639b48b3a5ea /ext/curl
parenta036fe5b728f2dfc57568b0c8058b71c2fb30438 (diff)
downloadphp-git-c19dfe84c75e0bbae633d554cbf3d28e6caff3a9.tar.gz
proto fixes
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/curl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/curl/curl.c b/ext/curl/curl.c
index 2413d8b4e7..82a707139a 100644
--- a/ext/curl/curl.c
+++ b/ext/curl/curl.c
@@ -609,7 +609,7 @@ PHP_FUNCTION(curl_init)
}
/* }}} */
-/* {{{ proto bool curl_setopt(int ch, string option, mixed value)
+/* {{{ proto bool curl_setopt(resource ch, string option, mixed value)
Set an option for a CURL transfer */
PHP_FUNCTION(curl_setopt)
{
@@ -873,7 +873,7 @@ PHP_FUNCTION(curl_setopt)
}
/* }}} */
-/* {{{ proto bool curl_exec(int ch)
+/* {{{ proto bool curl_exec(resource ch)
Perform a CURL session */
PHP_FUNCTION(curl_exec)
{
@@ -909,7 +909,7 @@ PHP_FUNCTION(curl_exec)
#define CAAD(s, v) add_assoc_double_ex(return_value, s, sizeof(s), v);
#define CAAS(s, v) add_assoc_string_ex(return_value, s, sizeof(s), v, 1);
-/* {{{ proto string curl_getinfo(int ch, int opt)
+/* {{{ proto string curl_getinfo(resource ch, int opt)
Get information regarding a specific transfer */
PHP_FUNCTION(curl_getinfo)
{
@@ -1009,7 +1009,7 @@ PHP_FUNCTION(curl_getinfo)
}
/* }}} */
-/* {{{ proto string curl_error(int ch)
+/* {{{ proto string curl_error(resource ch)
Return a string contain the last error for the current session */
PHP_FUNCTION(curl_error)
{
@@ -1027,7 +1027,7 @@ PHP_FUNCTION(curl_error)
}
/* }}} */
-/* {{{ proto int curl_errno(int ch)
+/* {{{ proto int curl_errno(resource ch)
Return an integer containing the last error number */
PHP_FUNCTION(curl_errno)
{
@@ -1044,7 +1044,7 @@ PHP_FUNCTION(curl_errno)
}
/* }}} */
-/* {{{ proto void curl_close(int ch)
+/* {{{ proto void curl_close(resource ch)
Close a CURL session */
PHP_FUNCTION(curl_close)
{