From c19dfe84c75e0bbae633d554cbf3d28e6caff3a9 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Mon, 18 Mar 2002 18:00:24 +0000 Subject: [PATCH] proto fixes --- ext/curl/curl.c | 12 ++++++------ 1 file 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) { -- 2.50.1