view libgaim/plugins/perl/common/ImgStore.xs @ 14614:45cdf2cf456c

[gaim-migrate @ 17342] sf patch #1563203, from hjheins Add Seamonkey to the list of browsers. This is the first patch I've accepted in a while. Mostly because Richard has been doing such an awesome job with the patch tracker. Three cheers for rlaager! hip-hip, hooray! hip-hip, hooray! hip-hip, hooray! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 24 Sep 2006 08:11:28 +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