cvs: php4 /ext/ircg ircg.c
| From: | Egon Schmid | Date: | Sun, 30 Dec 2001 08:45:09 +0000 |
| Subject: | cvs: php4 /ext/ircg ircg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8856@lists.php.net to get a copy of this message | ||
eschmid Sun Dec 30 03:45:09 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Fixed some protos.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.126 php4/ext/ircg/ircg.c:1.127
--- php4/ext/ircg/ircg.c:1.126 Tue Dec 18 13:36:30 2001
+++ php4/ext/ircg/ircg.c Sun Dec 30 03:45:09 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.126 2001/12/18 18:36:30 sas Exp $ */
+/* $Id: ircg.c,v 1.127 2001/12/30 08:45:09 eschmid Exp $ */
/* {{{ includes */
@@ -1137,7 +1137,7 @@
/* }}} */
/* {{{ proto bool ircg_set_on_die(int connection, string host, int port, string data)
- Set hostaction to be execute when connection dies */
+ Sets hostaction to be execute when connection dies */
PHP_FUNCTION(ircg_set_on_die)
{
#ifdef IRCG_PENDING_URL
@@ -1171,7 +1171,7 @@
/* }}} */
/* {{{ proto string ircg_get_username(int connection)
- Get username for connection */
+ Gets username for connection */
PHP_FUNCTION(ircg_get_username)
{
zval **p1;
@@ -1191,7 +1191,7 @@
/* }}} */
/* {{{ proto bool ircg_set_file(int connection, string path)
- Set logfile for connection */
+ Sets logfile for connection */
PHP_FUNCTION(ircg_set_file)
{
zval **p1, **p2;
@@ -1226,8 +1226,8 @@
}
/* }}} */
-/* {{{ proto bool ircg_set_current( int connection )
- Set current connection for output */
+/* {{{ proto bool ircg_set_current(int connection)
+ Sets current connection for output */
PHP_FUNCTION(ircg_set_current)
{
#ifdef IRCG_WITH_THTTPD
@@ -1273,7 +1273,7 @@
/* }}} */
/* {{{ proto string ircg_nickname_escape(string nick)
- Escape special characters in nickname to be IRC-compliant */
+ Escapes special characters in nickname to be IRC-compliant */
PHP_FUNCTION(ircg_nickname_escape)
{
zval **p1;
@@ -1297,7 +1297,7 @@
/* }}} */
/* {{{ proto string ircg_nickname_unescape(string nick)
- Decode encoded nickname */
+ Decodes encoded nickname */
PHP_FUNCTION(ircg_nickname_unescape)
{
zval **p1;
@@ -1320,8 +1320,8 @@
}
/* }}} */
-/* {{{ proto bool ircg_join( int connection, string channel )
- Join a channel on a connected server */
+/* {{{ proto bool ircg_join(int connection, string channel)
+ Joins a channel on a connected server */
PHP_FUNCTION(ircg_join)
{
zval **p1, **p2, **p3;
@@ -1351,7 +1351,7 @@
/* }}} */
/* {{{ proto bool ircg_whois( int connection, string nick)
- Query user information for nick on server */
+ Queries user information for nick on server */
PHP_FUNCTION(ircg_whois)
{
#if IRCG_API_VERSION - 0 >= 20010227
@@ -1374,8 +1374,8 @@
}
/* }}} */
-/* {{{ proto bool ircg_ignore_add( reosource connection, string nick)
- Add a user to your ignore list on a server */
+/* {{{ proto bool ircg_ignore_add(resource connection, string nick)
+ Adds a user to your ignore list on a server */
PHP_FUNCTION(ircg_ignore_add)
{
#if IRCG_API_VERSION - 0 >= 20010402
@@ -1399,7 +1399,7 @@
}
/* }}} */
-/* {{{ proto array ircg_fetch_error_msg( int connection )
+/* {{{ proto array ircg_fetch_error_msg(int connection)
Returns the error from previous ircg operation */
PHP_FUNCTION(ircg_fetch_error_msg)
{
@@ -1423,7 +1423,7 @@
/* }}} */
/* {{{ proto bool ircg_ignore_del(int connection, string nick)
- Remove a user from your ignore list */
+ Removes a user from your ignore list */
PHP_FUNCTION(ircg_ignore_del)
{
#if IRCG_API_VERSION - 0 >= 20010402
@@ -1449,7 +1449,7 @@
/* }}} */
/* {{{ proto bool ircg_channel_mode(int connection, string channel, string mode_spec, string nick)
- Set channel mode flags for user */
+ Sets channel mode flags for user */
PHP_FUNCTION(ircg_channel_mode)
{
#if IRCG_API_VERSION - 0 >= 20010227
@@ -1475,7 +1475,7 @@
/* }}} */
/* {{{ proto bool ircg_topic(int connection, string channel, string topic)
- Set topic for channel */
+ Sets topic for channel */
PHP_FUNCTION(ircg_topic)
{
#if IRCG_API_VERSION - 0 >= 20010226
@@ -1500,7 +1500,7 @@
/* }}} */
/* {{{ proto string ircg_html_encode(string html_text)
- Encode HTML preserving output */
+ Encodes HTML preserving output */
PHP_FUNCTION(ircg_html_encode)
{
zval **p1, **p2, **p3;
@@ -1532,7 +1532,7 @@
/* }}} */
/* {{{ proto bool ircg_kick(int connection, string channel, string nick, string reason)
- Kick user from channel */
+ Kicks user from channel */
PHP_FUNCTION(ircg_kick)
{
#if IRCG_API_VERSION - 0 >= 20010226
@@ -1558,7 +1558,7 @@
/* }}} */
/* {{{ proto bool ircg_part(int connection, string channel)
- Leave a channel */
+ Leaves a channel */
PHP_FUNCTION(ircg_part)
{
zval **p1, **p2;
@@ -1580,7 +1580,7 @@
/* }}} */
/* {{{ proto bool ircg_is_conn_alive(int connection)
- Check connection status */
+ Checks connection status */
PHP_FUNCTION(ircg_is_conn_alive)
{
zval **p1;
@@ -1598,7 +1598,7 @@
/* }}} */
/* {{{ proto bool ircg_lookup_format_messages(string name)
- Select a set of format strings for display of IRC messages */
+ Selects a set of format strings for display of IRC messages */
PHP_FUNCTION(ircg_lookup_format_messages)
{
zval **p1;
@@ -1616,7 +1616,7 @@
/* }}} */
/* {{{ proto bool ircg_register_format_messages(string name, array messages)
- Register a set of format strings for display of IRC messages */
+ Registers a set of format strings for display of IRC messages */
PHP_FUNCTION(ircg_register_format_messages)
{
zval **p1, **p2;
@@ -1749,8 +1749,8 @@
}
/* }}} */
-/* {{{ proto int ircg_pconnect
- */
+/* {{{ proto int ircg_pconnect(void)
+ ??? */
PHP_FUNCTION(ircg_pconnect)
{
/* This should become an array very soon */
@@ -1858,8 +1858,8 @@
}
/* }}} */
-/* {{{ proto bool ircg_disconnect
- */
+/* {{{ proto bool ircg_disconnect(void)
+ ??? */
PHP_FUNCTION(ircg_disconnect)
{
zval **id, **reason;
@@ -1876,8 +1876,8 @@
}
/* }}} */
-/* {{{ proto bool ircg_nick
- */
+/* {{{ proto bool ircg_nick(void)
+ ??? */
PHP_FUNCTION(ircg_nick)
{
zval **id, **newnick;
@@ -1899,8 +1899,8 @@
}
/* }}} */
-/* {{{ proto bool ircg_notice
- */
+/* {{{ proto bool ircg_notice(void)
+ ??? */
PHP_FUNCTION(ircg_notice)
{
zval **id, **recipient, **msg;
@@ -1922,8 +1922,8 @@
}
/* }}} */
-/* {{{ proto bool ircg_msg
- */
+/* {{{ proto bool ircg_msg(void)
+ ??? */
PHP_FUNCTION(ircg_msg)
{
zval **id, **recipient, **msg, **suppress;