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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
#include "module.h"
MODULE = Irssi::Irc::Dcc PACKAGE = Irssi::Irc
PROTOTYPES: ENABLE
void
dccs()
PREINIT:
GSList *tmp;
PPCODE:
for (tmp = dcc_conns; tmp != NULL; tmp = tmp->next)
XPUSHs(sv_2mortal(simple_iobject_bless((DCC_REC *) tmp->data)));
void
dcc_register_type(type)
char *type
void
dcc_unregister_type(type)
char *type
int
dcc_str2type(str)
char *str
char *
dcc_type2str(type)
int type
CODE:
RETVAL = (char *) module_find_id_str("DCC", type);
OUTPUT:
RETVAL
Irssi::Irc::Dcc
dcc_find_request_latest(type)
int type
Irssi::Irc::Dcc
dcc_find_request(type, nick, arg)
int type
char *nick
char *arg
Irssi::Irc::Dcc::Chat
dcc_chat_find_id(id)
char *id
void
dcc_chat_send(dcc, data)
Irssi::Irc::Dcc::Chat dcc
char *data
void
dcc_ctcp_message(server, target, chat, notice, msg)
Irssi::Irc::Server server
char *target
Irssi::Irc::Dcc::Chat chat
int notice
char *msg
void
dcc_get_download_path(fname)
char *fname
PREINIT:
char *ret;
PPCODE:
ret = dcc_get_download_path(fname);
XPUSHs(sv_2mortal(new_pv(ret)));
g_free(ret);
#*******************************
MODULE = Irssi::Irc::Dcc PACKAGE = Irssi::Irc::Dcc PREFIX = dcc_
#*******************************
void
dcc_init_rec(dcc, server, chat, nick, arg)
Irssi::Irc::Dcc dcc
Irssi::Irc::Server server
Irssi::Irc::Dcc::Chat chat
char *nick
char *arg
void
dcc_destroy(dcc)
Irssi::Irc::Dcc dcc
void
dcc_close(dcc)
Irssi::Irc::Dcc dcc
void
dcc_reject(dcc, server)
Irssi::Irc::Dcc dcc
Irssi::Irc::Server server
#*******************************
MODULE = Irssi::Irc::Dcc PACKAGE = Irssi::Windowitem PREFIX = item_
#*******************************
Irssi::Irc::Dcc::Chat
item_get_dcc(item)
Irssi::Windowitem item
|