Mercurial > pidgin
annotate plugins/perl/common/ImgStore.xs @ 13219:d0f7f698b6de
[gaim-migrate @ 15583]
SF Patch #1428591 from Sadrul
"This is a new signal, emitted when request for a
file-transfer comes in. I have written a trivial plugin
(which I plan on adding under plugin_pack in a couple
of days) that uses this signal to auto-accept
file-transfers. I have tested the plugin to auto-accept
or auto-reject file-transfer requests."
I also noticed that the file transfer signals weren't using a subtype for
GaimXfer pointers, so I added one.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 11 Feb 2006 05:24:30 +0000 |
parents | b284c703d398 |
children |
rev | line source |
---|---|
11118 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::ImgStore PACKAGE = Gaim::ImgStore PREFIX = gaim_imgstore_ | |
4 PROTOTYPES: ENABLE | |
5 | |
6 int | |
7 gaim_imgstore_add(data, size, filename) | |
8 void *data | |
9 size_t size | |
10 const char *filename | |
11 | |
12 Gaim::StoredImage | |
13 gaim_imgstore_get(id) | |
14 int id | |
15 | |
16 gpointer | |
17 gaim_imgstore_get_data(i) | |
18 Gaim::StoredImage i | |
19 | |
20 const char * | |
21 gaim_imgstore_get_filename(i) | |
22 Gaim::StoredImage i | |
23 | |
24 size_t | |
25 gaim_imgstore_get_size(i) | |
26 Gaim::StoredImage i | |
27 | |
28 void | |
29 gaim_imgstore_ref(id) | |
30 int id | |
31 | |
32 void | |
33 gaim_imgstore_unref(id) | |
34 int id | |
35 |