mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1177 dbcabf3a-b0e7-0310-adc4-f8d773084564
55 lines
1.1 KiB
Text
55 lines
1.1 KiB
Text
MODULE = Irssi::Irc PACKAGE = Irssi::Irc::Channel PREFIX = irc_
|
|
|
|
void
|
|
bans(channel)
|
|
Irssi::Irc::Channel channel
|
|
PREINIT:
|
|
GSList *tmp;
|
|
HV *stash;
|
|
PPCODE:
|
|
stash = gv_stashpv("Irssi::Irc::Ban", 0);
|
|
for (tmp = channel->banlist; tmp != NULL; tmp = tmp->next) {
|
|
push_bless(tmp->data, stash);
|
|
}
|
|
|
|
void
|
|
ebans(channel)
|
|
Irssi::Irc::Channel channel
|
|
PREINIT:
|
|
GSList *tmp;
|
|
HV *stash;
|
|
PPCODE:
|
|
stash = gv_stashpv("Irssi::Irc::Ban", 0);
|
|
for (tmp = channel->ebanlist; tmp != NULL; tmp = tmp->next) {
|
|
push_bless(tmp->data, stash);
|
|
}
|
|
|
|
void
|
|
invites(channel)
|
|
Irssi::Irc::Channel channel
|
|
PREINIT:
|
|
GSList *tmp;
|
|
PPCODE:
|
|
for (tmp = channel->invitelist; tmp != NULL; tmp = tmp->next) {
|
|
XPUSHs(new_pv(tmp->data));
|
|
}
|
|
|
|
Irssi::Nick
|
|
irc_nick_insert(channel, nick, op, voice, send_massjoin)
|
|
Irssi::Channel channel
|
|
char *nick
|
|
int op
|
|
int voice
|
|
int send_massjoin
|
|
CODE:
|
|
RETVAL = irc_nicklist_insert(channel, nick, op, voice, send_massjoin);
|
|
OUTPUT:
|
|
RETVAL
|
|
|
|
MODULE = Irssi::Irc PACKAGE = Irssi::Irc::Server PREFIX = irc_
|
|
|
|
Irssi::Irc::Channel
|
|
irc_channel_create(server, name, automatic)
|
|
Irssi::Irc::Server server
|
|
char *name
|
|
int automatic
|