summaryrefslogtreecommitdiff
path: root/src/perl/irc/Notifylist.xs
blob: 2f8306397d1f78e681f4ac3b0ab46080dd48b5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
MODULE = Irssi::Irc  PACKAGE = Irssi::Irc

void
notifies()
PREINIT:
	GSList *tmp;
	HV *stash;
PPCODE:
	stash = gv_stashpv("Irssi::Irc::Notifylist", 0);
	for (tmp = notifies; tmp != NULL; tmp = tmp->next) {
		push_bless(tmp->data, stash);
	}

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  PACKAGE = Irssi::Irc::Server
#*******************************

int
notifylist_ison_server(server, nick)
	Irssi::Irc::Server server
	char *nick

#*******************************
MODULE = Irssi::Irc	PACKAGE = Irssi::Irc::Notifylist  PREFIX = notifylist_
#*******************************

int
notifylist_ircnets_match(rec, ircnet)
	Irssi::Irc::Notifylist rec
	char *ircnet