summaryrefslogtreecommitdiff
path: root/src/perl/xs/Irssi-modes.xs
blob: e1f08d100762f3c6752c1ad4383e235122e806e2 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
MODULE = Irssi	PACKAGE = Irssi

char *
modes_join(old, mode)
	char *old
	char *mode

#*******************************
MODULE = Irssi	PACKAGE = Irssi::Server
#*******************************

void
channel_set_singlemode(server, channel, nicks, mode)
	Irssi::Server server
	char *channel
	char *nicks
	char *mode

void
channel_set_mode(server, channel, mode)
	Irssi::Server server
	char *channel
	char *mode

#*******************************
MODULE = Irssi	PACKAGE = Irssi::Channel  PREFIX = channel_
#*******************************

void
parse_channel_modes(channel, setby, modestr)
	Irssi::Channel channel
	char *setby
	char *modestr

Irssi::Ban
banlist_add(channel, ban, nick, time)
	Irssi::Channel channel
	char *ban
	char *nick
	time_t time

void
banlist_remove(channel, ban)
	Irssi::Channel channel
	char *ban

Irssi::Ban
banlist_exception_add(channel, ban, nick, time)
	Irssi::Channel channel
	char *ban
	char *nick
	time_t time

void
banlist_exception_remove(channel, ban)
	Irssi::Channel channel
	char *ban

void
invitelist_add(channel, mask)
	Irssi::Channel channel
	char *mask

void
invitelist_remove(channel, mask)
	Irssi::Channel channel
	char *mask