Mercurial > pidgin.yaz
view libpurple/plugins/perl/common/ImgStore.xs @ 21969:27d665278485
merge of '7e8103bd3c5298a43a4e18bb59037980f5c213c9'
and 'dc6923294f5f33ff7a52a998e1b9e9ad47be0211'
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Wed, 02 Jan 2008 06:42:29 +0000 |
parents | d2af214913f1 |
children |
line wrap: on
line source
#include "module.h" MODULE = Purple::ImgStore PACKAGE = Purple::ImgStore PREFIX = purple_imgstore_ PROTOTYPES: ENABLE Purple::StoredImage purple_imgstore_add(data, size, filename) void *data size_t size const char *filename int purple_imgstore_add_with_id(data, size, filename) void *data size_t size const char *filename Purple::StoredImage purple_imgstore_find_by_id(id) int id gconstpointer purple_imgstore_get_data(i) Purple::StoredImage i const char * purple_imgstore_get_filename(i) Purple::StoredImage i size_t purple_imgstore_get_size(i) Purple::StoredImage i const char * purple_imgstore_get_extension(i) Purple::StoredImage i Purple::StoredImage purple_imgstore_ref(id) Purple::StoredImage id Purple::StoredImage purple_imgstore_unref(id) Purple::StoredImage id void purple_imgstore_ref_by_id(id) int id void purple_imgstore_unref_by_id(id) int id