mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
5dcd683324
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@982 dbcabf3a-b0e7-0310-adc4-f8d773084564
50 lines
889 B
Plaintext
50 lines
889 B
Plaintext
MODULE = Irssi PACKAGE = Irssi
|
|
|
|
void
|
|
ignores()
|
|
PREINIT:
|
|
GSList *tmp;
|
|
HV *stash;
|
|
PPCODE:
|
|
stash = gv_stashpv("Irssi::Ignore", 0);
|
|
for (tmp = servers; tmp != NULL; tmp = tmp->next) {
|
|
push_bless(tmp->data, stash);
|
|
}
|
|
|
|
int
|
|
ignore_check(nick, host, channel, text, level)
|
|
char *nick
|
|
char *host
|
|
char *channel
|
|
char *text
|
|
int level
|
|
CODE:
|
|
RETVAL = ignore_check(NULL, nick, host, channel, text, level);
|
|
OUTPUT:
|
|
RETVAL
|
|
|
|
#*******************************
|
|
MODULE = Irssi PACKAGE = Irssi::Server
|
|
#*******************************
|
|
|
|
int
|
|
ignore_check(server, nick, host, channel, text, level)
|
|
Irssi::Server server
|
|
char *nick
|
|
char *host
|
|
char *channel
|
|
char *text
|
|
int level
|
|
|
|
#*******************************
|
|
MODULE = Irssi PACKAGE = Irssi::Ignore PREFIX = ignore_
|
|
#*******************************
|
|
|
|
void
|
|
ignore_add_rec(rec)
|
|
Irssi::Ignore rec
|
|
|
|
void
|
|
ignore_update_rec(rec)
|
|
Irssi::Ignore rec
|