00001
00026 #ifndef _GAIM_IMGSTORE_H_
00027 #define _GAIM_IMGSTORE_H_
00028
00029 struct _GaimStoredImage;
00030 typedef struct _GaimStoredImage GaimStoredImage;
00031
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035
00047 int gaim_imgstore_add(const void *data, size_t size, const char *filename);
00048
00057 GaimStoredImage *gaim_imgstore_get(int id);
00058
00067 gpointer gaim_imgstore_get_data(GaimStoredImage *i);
00068
00077 size_t gaim_imgstore_get_size(GaimStoredImage *i);
00078
00087 const char *gaim_imgstore_get_filename(GaimStoredImage *i);
00088
00096 void gaim_imgstore_ref(int id);
00097
00105 void gaim_imgstore_unref(int id);
00106
00107 #ifdef __cplusplus
00108 }
00109 #endif
00110
00111 #endif