From: Hartmut Holzgraefe Date: Mon, 17 Mar 2003 13:11:19 +0000 (+0000) Subject: proto fixes X-Git-Tag: RELEASE_0_5~444 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dbe4f2238ceed386a69cacbbce5cae8b0a856fab;p=php proto fixes --- diff --git a/ext/curl/multi.c b/ext/curl/multi.c index 6bd8fd6013..7dae5f3b41 100644 --- a/ext/curl/multi.c +++ b/ext/curl/multi.c @@ -62,7 +62,7 @@ PHP_FUNCTION(curl_multi_init) } /* }}} */ -/* {{{ int curl_multi_add_handle(resource multi, resource ch) +/* {{{ proto int curl_multi_add_handle(resource multi, resource ch) Add a normal cURL handle to a cURL multi handle */ PHP_FUNCTION(curl_multi_add_handle) { @@ -119,7 +119,7 @@ static void _make_timeval_struct(struct timeval *to, double timeout) to->tv_usec = conv % 1000000; } -/* {{{ int curl_multi_select(resource mh[, double timeout]) +/* {{{ proto int curl_multi_select(resource mh[, double timeout]) Get all the sockets associated with the cURL extension, which can then be "selected" */ PHP_FUNCTION(curl_multi_select) { @@ -230,6 +230,8 @@ PHP_FUNCTION(curl_multi_info_read) } /* }}} */ +/* {{{ proto void curl_multi_close(resource mh) + Close a set of cURL handles */ PHP_FUNCTION(curl_multi_close) { zval *z_mh; @@ -243,6 +245,7 @@ PHP_FUNCTION(curl_multi_close) zend_list_delete(Z_LVAL_P(z_mh)); } +/* }}} */ void _php_curl_multi_close(zend_rsrc_list_entry *rsrc) { diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index 8c7230cf19..b3831e6231 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -991,7 +991,7 @@ PHP_FUNCTION(fdf_set_opt) } /* }}} */ -/* {{{ proto mixed fdf_get_option(resource fdfdof, string fieldname [, int element]) +/* {{{ proto mixed fdf_get_opt(resource fdfdof, string fieldname [, int element]) Gets a value from the opt array of a field */ PHP_FUNCTION(fdf_get_opt) { zval *r_fdf; @@ -1573,7 +1573,7 @@ PHP_FUNCTION(fdf_enum_values) { } /* }}} */ -/* {{{ proto fdf_header() +/* {{{ proto void fdf_header(void) Set FDF specific HTTP headers */ PHP_FUNCTION(fdf_header) { sapi_header_line ctr = {0}; diff --git a/ext/ncurses/ncurses_functions.c b/ext/ncurses/ncurses_functions.c index 89c82024e0..a03c9fa3a2 100644 --- a/ext/ncurses/ncurses_functions.c +++ b/ext/ncurses/ncurses_functions.c @@ -2113,7 +2113,7 @@ PHP_FUNCTION(ncurses_wgetch) } /* }}} */ -/* {{{ proto int wattroff(resource window, int attrs) +/* {{{ proto int ncurses_wattroff(resource window, int attrs) Turns off attributes for a window */ PHP_FUNCTION(ncurses_wattroff) { @@ -2131,7 +2131,7 @@ PHP_FUNCTION(ncurses_wattroff) } /* }}} */ -/* {{{ proto int wattron(resource window, int attrs) +/* {{{ proto int ncurses_wattron(resource window, int attrs) Turns on attributes for a window */ PHP_FUNCTION(ncurses_wattron) { @@ -2149,7 +2149,7 @@ PHP_FUNCTION(ncurses_wattron) } /* }}} */ -/* {{{ proto int wattrset(resource window, int attrs) +/* {{{ proto int ncurses_wattrset(resource window, int attrs) Set the attributes for a window */ PHP_FUNCTION(ncurses_wattrset) { @@ -2167,7 +2167,7 @@ PHP_FUNCTION(ncurses_wattrset) } /* }}} */ -/* {{{ proto int wstandend(resource window) +/* {{{ proto int ncurses_wstandend(resource window) End standout mode for a window */ PHP_FUNCTION(ncurses_wstandend) { @@ -2184,7 +2184,7 @@ PHP_FUNCTION(ncurses_wstandend) } /* }}} */ -/* {{{ proto int wstandout(resource window) +/* {{{ proto int ncurses_wstandout(resource window) Enter standout mode for a window */ PHP_FUNCTION(ncurses_wstandout) { diff --git a/ext/standard/aggregation.c b/ext/standard/aggregation.c index d78d55a98e..b474172f87 100644 --- a/ext/standard/aggregation.c +++ b/ext/standard/aggregation.c @@ -544,7 +544,7 @@ PHP_FUNCTION(aggregate_properties_by_regexp) #endif -/* {{{ proto array aggregation_info(object obj) +/* {{{ proto array aggregate_info(object obj) */ PHP_FUNCTION(aggregate_info) { diff --git a/ext/standard/dns.c b/ext/standard/dns.c index d8799d863f..6d07d608a8 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -207,7 +207,7 @@ static char *php_gethostbyname(char *name) #if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32) || defined(NETWARE)) -/* {{{ proto int dns_check_recored(string host [, string type]) +/* {{{ proto int dns_check_record(string host [, string type]) Check DNS records corresponding to a given Internet host name or IP address */ PHP_FUNCTION(dns_check_record) {