view libgaim/plugins/perl/common/ImgStore.xs @ 14267:645598a4ec04

[gaim-migrate @ 16949] Change gaim_network_listen() and gaim_network_listen_range() to be cancelable. This doesn't actually help anything yet, since the gaim_upnp_functions() are not yet cancelable. But the framework is there, and the PRPLs shouldn't need any additional changes. Still to go: gaim_upnp_everything() gaim_url_fetch() gaim_srv_resolve() Let me know if there are others committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 21 Aug 2006 07:47:03 +0000
parents 60b1bc8dbf37
children
line wrap: on
line source

#include "module.h"

MODULE = Gaim::ImgStore  PACKAGE = Gaim::ImgStore  PREFIX = gaim_imgstore_
PROTOTYPES: ENABLE

int 
gaim_imgstore_add(data, size, filename)
	void *data
	size_t size
	const char *filename

Gaim::StoredImage
gaim_imgstore_get(id)
	int id

gpointer 
gaim_imgstore_get_data(i)
	Gaim::StoredImage i

const char *
gaim_imgstore_get_filename(i)
	Gaim::StoredImage i

size_t 
gaim_imgstore_get_size(i)
	Gaim::StoredImage i

void 
gaim_imgstore_ref(id)
	int id

void 
gaim_imgstore_unref(id)
	int id