mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
76c6e9ab83
separately now). Added statusbar code to available to perl, it's now possible to create new statusbar items with perl scripts. statusbar_items_redraw(char *name) can now be used to easily redraw all named statusbar items in screen. Probably several other changes I've already forgotten :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1861 dbcabf3a-b0e7-0310-adc4-f8d773084564
53 lines
1.0 KiB
Plaintext
53 lines
1.0 KiB
Plaintext
#include "module.h"
|
|
|
|
MODULE = Irssi::Irc::Notifylist PACKAGE = Irssi::Irc
|
|
PROTOTYPES: ENABLE
|
|
|
|
void
|
|
notifies()
|
|
PREINIT:
|
|
GSList *tmp;
|
|
PPCODE:
|
|
for (tmp = notifies; tmp != NULL; tmp = tmp->next) {
|
|
XPUSHs(sv_2mortal(plain_bless(tmp->data, "Irssi::Irc::Notifylist")));
|
|
}
|
|
|
|
Irssi::Irc::Notifylist
|
|
notifylist_add(mask, ircnets, away_check, idle_check_time)
|
|
char *mask
|
|
char *ircnets
|
|
int away_check
|
|
int idle_check_time
|
|
|
|
void
|
|
notifylist_remove(mask)
|
|
char *mask
|
|
|
|
Irssi::Irc::Server
|
|
notifylist_ison(nick, serverlist)
|
|
char *nick
|
|
char *serverlist
|
|
|
|
Irssi::Irc::Notifylist
|
|
notifylist_find(mask, ircnet)
|
|
char *mask
|
|
char *ircnet
|
|
|
|
#*******************************
|
|
MODULE = Irssi::Irc::Notifylist PACKAGE = Irssi::Irc::Server
|
|
#*******************************
|
|
|
|
int
|
|
notifylist_ison_server(server, nick)
|
|
Irssi::Irc::Server server
|
|
char *nick
|
|
|
|
#*******************************
|
|
MODULE = Irssi::Irc::Notifylist PACKAGE = Irssi::Irc::Notifylist PREFIX = notifylist_
|
|
#*******************************
|
|
|
|
int
|
|
notifylist_ircnets_match(rec, ircnet)
|
|
Irssi::Irc::Notifylist rec
|
|
char *ircnet
|