blob: 3c946c7e10a9b4e13decb465f15fdbb9abe551be (
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
|
#define PERL_NO_GET_CONTEXT
#include "module.h"
MODULE = Irssi::Rawlog PACKAGE = Irssi
PROTOTYPES: ENABLE
void
rawlog_set_size(lines)
int lines
Irssi::Rawlog
rawlog_create()
#*******************************
MODULE = Irssi::Rawlog PACKAGE = Irssi::Rawlog PREFIX = rawlog_
#*******************************
void
rawlog_get_lines(rawlog)
Irssi::Rawlog rawlog
PREINIT:
GList *tmp;
PPCODE:
for (tmp = rawlog->lines->head; tmp != NULL; tmp = tmp->next) {
XPUSHs(sv_2mortal(new_pv(tmp->data)));
}
void
rawlog_destroy(rawlog)
Irssi::Rawlog rawlog
void
rawlog_input(rawlog, str)
Irssi::Rawlog rawlog
char *str
void
rawlog_output(rawlog, str)
Irssi::Rawlog rawlog
char *str
void
rawlog_redirect(rawlog, str)
Irssi::Rawlog rawlog
char *str
void
rawlog_open(rawlog, fname)
Irssi::Rawlog rawlog
char *fname
void
rawlog_close(rawlog)
Irssi::Rawlog rawlog
void
rawlog_save(rawlog, fname)
Irssi::Rawlog rawlog
char *fname
|