cvs: php4 /ext/ircg ircg.c

From: Date: Wed, 05 Dec 2001 23:54:53 +0000
Subject: cvs: php4 /ext/ircg ircg.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8449@lists.php.net to get a copy of this message
hholzgra Wed Dec 5 18:54:53 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: proto fixes Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.118 php4/ext/ircg/ircg.c:1.119 --- php4/ext/ircg/ircg.c:1.118 Mon Dec 3 07:13:47 2001 +++ php4/ext/ircg/ircg.c Wed Dec 5 18:54:53 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ircg.c,v 1.118 2001/12/03 12:13:47 sas Exp $ */ +/* $Id: ircg.c,v 1.119 2001/12/05 23:54:53 hholzgra Exp $ */ /* {{{ includes */ @@ -1106,7 +1106,7 @@ #endif /* }}} */ -/* {{{ proto bool ircg_set_on_die(???) +/* {{{ proto bool ircg_set_on_die(int connection, string p2, int p3, string p4) */ PHP_FUNCTION(ircg_set_on_die) { @@ -1140,7 +1140,8 @@ } /* }}} */ -/* {{{ proto string ircg_get_username */ +/* {{{ proto string ircg_get_username(int connection) + */ PHP_FUNCTION(ircg_get_username) { zval **p1; @@ -1148,7 +1149,7 @@ if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &p1) == FAILURE) WRONG_PARAM_COUNT; - + convert_to_long_ex(p1); conn = lookup_irconn(Z_LVAL_PP(p1)); @@ -1159,7 +1160,8 @@ } /* }}} */ -/* {{{ proto bool ircg_set_file */ +/* {{{ proto bool ircg_set_file(int connection, string path) + */ PHP_FUNCTION(ircg_set_file) { zval **p1, **p2; @@ -1195,7 +1197,8 @@ } /* }}} */ -/* {{{ proto bool ircg_set_current */ +/* {{{ proto bool ircg_set_current( int connection ) + Set current connection for output */ PHP_FUNCTION(ircg_set_current) { #ifdef IRCG_WITH_THTTPD @@ -1240,7 +1243,8 @@ } /* }}} */ -/* {{{ proto string ircg_nickname_escape */ +/* {{{ proto string ircg_nickname_escape(string nick) + */ PHP_FUNCTION(ircg_nickname_escape) { zval **p1; @@ -1263,7 +1267,8 @@ } /* }}} */ -/* {{{ proto string ircg_nickname_unescape */ +/* {{{ proto string ircg_nickname_unescape(string nick) + */ PHP_FUNCTION(ircg_nickname_unescape) { zval **p1; @@ -1286,7 +1291,8 @@ } /* }}} */ -/* {{{ proto bool ircg_join */ +/* {{{ proto bool ircg_join( int connection, string channel ) + Join a channel on a connected server */ PHP_FUNCTION(ircg_join) { zval **p1, **p2, **p3; @@ -1315,7 +1321,8 @@ } /* }}} */ -/* {{{ proto bool ircg_whois */ +/* {{{ proto bool ircg_whois( int connection, string nick) + Query user information for nick on server */ PHP_FUNCTION(ircg_whois) { #if IRCG_API_VERSION - 0 >= 20010227 @@ -1338,8 +1345,8 @@ } /* }}} */ -/* {{{ proto bool ircg_ignore_add - */ +/* {{{ proto bool ircg_ignore_add( reosource connection, string nick) + Add a user to your ignore list on a server */ PHP_FUNCTION(ircg_ignore_add) { #if IRCG_API_VERSION - 0 >= 20010402 @@ -1363,8 +1370,8 @@ } /* }}} */ -/* {{{ proto array ircg_fetch_error_msg - */ +/* {{{ proto array ircg_fetch_error_msg( int connection ) + Returns the error from previous ircg operation */ PHP_FUNCTION(ircg_fetch_error_msg) { zval **args[2]; @@ -1386,8 +1393,8 @@ } /* }}} */ -/* {{{ proto bool ircg_ignore_del - */ +/* {{{ proto bool ircg_ignore_del(int connection, string nick) + Remove a user from your ignore list */ PHP_FUNCTION(ircg_ignore_del) { #if IRCG_API_VERSION - 0 >= 20010402 @@ -1412,8 +1419,8 @@ } /* }}} */ -/* {{{ proto bool ircg_channel_mode - */ +/* {{{ proto bool ircg_channel_mode(int connection, string channel, string mode_spec, string nick) + Set channel mode flags for user */ PHP_FUNCTION(ircg_channel_mode) { #if IRCG_API_VERSION - 0 >= 20010227 @@ -1438,8 +1445,8 @@ } /* }}} */ -/* {{{ proto bool ircg_topic - */ +/* {{{ proto bool ircg_topic(int connection, string channel, string topic) + Set topic for channel */ PHP_FUNCTION(ircg_topic) { #if IRCG_API_VERSION - 0 >= 20010226 @@ -1463,8 +1470,8 @@ } /* }}} */ -/* {{{ proto string ircg_html_encode - */ +/* {{{ proto string ircg_html_encode(string html_text) + Encode HTML preserving output */ PHP_FUNCTION(ircg_html_encode) { zval **p1, **p2, **p3; @@ -1495,8 +1502,8 @@ } /* }}} */ -/* {{{ proto bool ircg_kick - */ +/* {{{ proto bool ircg_kick(int connection, string channel, string nick, string reason) + Kick user from channel */ PHP_FUNCTION(ircg_kick) { #if IRCG_API_VERSION - 0 >= 20010226 @@ -1521,8 +1528,8 @@ } /* }}} */ -/* {{{ proto bool ircg_part - */ +/* {{{ proto bool ircg_part(int connection, string channel) + Leave a channel */ PHP_FUNCTION(ircg_part) { zval **p1, **p2; @@ -1543,8 +1550,8 @@ } /* }}} */ -/* {{{ proto bool ircg_is_conn_alive - */ +/* {{{ proto bool ircg_is_conn_alive(int connection) + Check connection status */ PHP_FUNCTION(ircg_is_conn_alive) { zval **p1; @@ -1561,8 +1568,8 @@ } /* }}} */ -/* {{{ proto bool ircg_lookup_format_messages - */ +/* {{{ proto bool ircg_lookup_format_messages(string name) + Select a set of format strings for display of IRC messages */ PHP_FUNCTION(ircg_lookup_format_messages) { zval **p1; @@ -1579,8 +1586,8 @@ } /* }}} */ -/* {{{ proto bool ircg_register_format_messages - */ +/* {{{ proto bool ircg_register_format_messages(string name, array messages) + Register a set of format strings for display of IRC messages */ PHP_FUNCTION(ircg_register_format_messages) { zval **p1, **p2;

« previous php.cvs (#8449) next »