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
|
MODULE = Irssi PACKAGE = Irssi::Server
void
autoignore_add(server, nick, level)
Irssi::Server server
char *nick
int level
int
autoignore_remove(server, mask, level)
Irssi::Server server
char *mask
int level
#*******************************
MODULE = Irssi PACKAGE = Irssi::Autoignore
#*******************************
void
values(ai)
Irssi::Autoignore ai
PREINIT:
HV *hv;
PPCODE:
hv = newHV();
hv_store(hv, "nick", 4, new_pv(ai->nick), 0);
hv_store(hv, "timeleft", 8, newSViv(ai->timeleft), 0);
hv_store(hv, "level", 5, newSViv(ai->level), 0);
XPUSHs(sv_2mortal(newRV_noinc((SV*)hv)));
|