sas Tue Jul 8 00:25:41 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/ircg ircg.c Log: protos Index: php-src/ext/ircg/ircg.c diff -u php-src/ext/ircg/ircg.c:1.137.2.14 php-src/ext/ircg/ircg.c:1.137.2.15 --- php-src/ext/ircg/ircg.c:1.137.2.14 Mon Jul 7 21:16:59 2003 +++ php-src/ext/ircg/ircg.c Tue Jul 8 00:25:40 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ircg.c,v 1.137.2.14 2003/07/08 01:16:59 sas Exp $ */ +/* $Id: ircg.c,v 1.137.2.15 2003/07/08 04:25:40 sas Exp $ */ /* {{{ includes */ @@ -2237,8 +2237,8 @@ } /* }}} */ -/* {{{ proto int ircg_pconnect(void) - ??? */ +/* {{{ proto int ircg_pconnect(string username [, string server [, int port [, string format-msg-set-name [, array ctcp-set [, array user-details [, bool bailout-on-trivial]]]]]]) + Create a persistent IRC connection */ PHP_FUNCTION(ircg_pconnect) { /* This should become an array very soon */ @@ -2344,8 +2344,8 @@ } /* }}} */ -/* {{{ proto bool ircg_disconnect(void) - ??? */ +/* {{{ proto bool ircg_disconnect(int connection, string reason) + Terminate IRC connection */ PHP_FUNCTION(ircg_disconnect) { zval **id, **reason; @@ -2432,6 +2432,9 @@ } /* }}} */ +/* {{{ proto array ircg_eval_ecmascript_params(string params) + Decodes a list of JS-encoded parameters into a native array */ + #define ADD_PARA() do { \ if (para.len) smart_str_0(¶); \ add_next_index_stringl(return_value, \ @@ -2543,9 +2546,10 @@ smart_str_free(¶); } } +/* }}} */ -/* {{{ proto bool ircg_msg(void) - ??? */ +/* {{{ proto bool ircg_msg(int connection, string recipient, string message [,bool loop-suppress]) + Delivers a message to the IRC network */ PHP_FUNCTION(ircg_msg) { zval **id, **recipient, **msg, **suppress; @@ -2696,7 +2700,7 @@ php_info_print_table_header(2, "ircg support", "enabled"); sprintf(buf, "%d", getdtablesize()); - php_info_print_table_row(2, "Maximum number of open fds", buf); + php_info_print_table_row(2, "Maximum number of open fds (system limit)", buf); sprintf(buf, "%d", highest_fd); php_info_print_table_row(2, "Highest encountered fd", buf);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php