view plugins/perl/common/ImgStore.xs @ 12341:eea31c8cc9f7

[gaim-migrate @ 14645] sf patch #1367967, from Sadrul Habib Chowdhury "When a buddy goes offline, and that buddy-node was being displayed in an expanded contact, or the buddy was the only online node under a group, then the going-out-the-door icon is not displayed. This patch is a fix for that." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 05 Dec 2005 04:10:08 +0000
parents b284c703d398
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