2001-02-02 22:10:20 +00:00
|
|
|
MODULE = Irssi::Irc PACKAGE = Irssi::Irc::Channel PREFIX = irc_
|
2000-10-01 20:48:48 +00:00
|
|
|
|
|
|
|
|
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) {
|
2000-12-06 05:03:11 +00:00
|
|
|
push_bless(tmp->data, stash);
|
2000-10-01 20:48:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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) {
|
2000-12-06 05:03:11 +00:00
|
|
|
push_bless(tmp->data, stash);
|
2000-10-01 20:48:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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));
|
|
|
|
|
}
|
|
|
|
|
|
2001-02-02 22:10:20 +00:00
|
|
|
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
|
|
|
|
|
|
2000-10-01 20:48:48 +00:00
|
|
|
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
|