summaryrefslogtreecommitdiff
path: root/src/perl/common/Channel.xs
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-06 21:59:28 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-06 21:59:28 +0000
commit341cd555872d49a805e8271e5c4b4bdee03bb866 (patch)
treedfee61d174e6cda35aded9fd0f5547beb052ee13 /src/perl/common/Channel.xs
parentd108026a377aae45a9294b495b81b951b5d84e85 (diff)
downloadirssi-341cd555872d49a805e8271e5c4b4bdee03bb866.zip
Perl updates. Lots of updates to perl documentation :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1081 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common/Channel.xs')
-rw-r--r--src/perl/common/Channel.xs23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/perl/common/Channel.xs b/src/perl/common/Channel.xs
index 47e0a37a..b8fdecd0 100644
--- a/src/perl/common/Channel.xs
+++ b/src/perl/common/Channel.xs
@@ -17,6 +17,14 @@ CODE:
OUTPUT:
RETVAL
+Irssi::Channel
+channel_create(chat_type, name, automatic)
+ int chat_type
+ char *name
+ int automatic
+CODE:
+ channel_create(chat_type, NULL, name, automatic);
+
#*******************************
MODULE = Irssi PACKAGE = Irssi::Server
#*******************************
@@ -31,12 +39,21 @@ PPCODE:
XPUSHs(sv_2mortal(irssi_bless((CHANNEL_REC *) tmp->data)));
}
+void
+channels_join(server, channels, automatic)
+ Irssi::Server server
+ char *channels
+ int automatic
+CODE:
+ server->channels_join(server, channels, automatic);
+
Irssi::Channel
-channel_create(chat_type, server, name, automatic)
- int chat_type
+channel_create(server, name, automatic)
Irssi::Server server
char *name
int automatic
+CODE:
+ channel_create(server->chat_type, server, name, automatic);
Irssi::Channel
channel_find(server, name)
@@ -44,7 +61,7 @@ channel_find(server, name)
char *name
void
-nicklist_get_same(server, nick)
+nicks_get_same(server, nick)
Irssi::Server server
char *nick
PREINIT: