00001 00026 #ifndef _GAIM_CONV_IMGSTORE_H_ 00027 #define _GAIM_CONV_IMGSTORE_H_ 00028 00034 typedef struct 00035 { 00036 char *data; 00037 size_t size; 00038 char *filename; 00039 } GaimStoredImage; 00040 00041 #ifdef __cplusplus 00042 extern "C" { 00043 #endif 00044 00056 int gaim_imgstore_add(const void *data, size_t size, const char *filename); 00057 00066 GaimStoredImage *gaim_imgstore_get(int id); 00067 00075 void gaim_imgstore_ref(int id); 00076 00084 void gaim_imgstore_unref(int id); 00085 00086 #ifdef __cplusplus 00087 } 00088 #endif 00089 00090 #endif /* _GAIM_CONV_IMGSTORE_H_ */