cvs: embed /php-irssi ext-irssi.c
[email protected] ("Tal Peer") Tue, 01 Apr 2003 15:57:04 -0000
| Newsgroups | php.embed.cvs |
|---|---|
| Message-ID | <cvstal1049212624@cvsserver> |
tal Tue Apr 1 10:57:04 2003 EDT
Modified files:
/embed/php-irssi ext-irssi.c
Log:
Add missing protos
Index: embed/php-irssi/ext-irssi.c
diff -u embed/php-irssi/ext-irssi.c:1.26 embed/php-irssi/ext-irssi.c:1.27
--- embed/php-irssi/ext-irssi.c:1.26 Tue Apr 1 10:13:41 2003
+++ embed/php-irssi/ext-irssi.c Tue Apr 1 10:57:04 2003
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
| Author: Wez Furlong <[email protected]> |
+----------------------------------------------------------------------+
- $Id: ext-irssi.c,v 1.26 2003/04/01 15:13:41 tal Exp $
+ $Id: ext-irssi.c,v 1.27 2003/04/01 15:57:04 tal Exp $
*/
#include "php-irssi.h"
#include "php-signals-list.h" /* generated by php during make */
@@ -269,6 +269,8 @@
/* ---------- Global functions */
+/* proto array irssi_server_list()
+ Returns an array of SERVER objects */
PHP_FUNCTION(irssi_server_list)
{
if (ZEND_NUM_ARGS() != 0) {
@@ -277,6 +279,8 @@
php_irssi_export_GList(return_value, servers, PIAT_SERVER);
}
+/* proto array irssi_channel_list()
+ Returns an array of CHANNEL objects */
PHP_FUNCTION(irssi_channel_list)
{
if (ZEND_NUM_ARGS() != 0) {
@@ -285,6 +289,8 @@
php_irssi_export_GList(return_value, channels, PIAT_CHANNEL);
}
+/* proto object irssi_window_get_active()
+ Returns the WINDOW object of the current active window */
PHP_FUNCTION(irssi_window_get_active)
{
if (ZEND_NUM_ARGS() != 0) {
@@ -293,6 +299,8 @@
php_irssi_export_WINDOW(return_value, active_win TSRMLS_CC);
}
+/* proto object irssi_window_find_name(string name)
+ Returns the WINDOW object of the window with the given name */
PHP_FUNCTION(irssi_window_find_name)
{
char *name;
@@ -311,7 +319,6 @@
RETVAL_NULL();
}
}
-
/* event source for timeout events */
static int php_source_event(struct sig_record *rec)