1 /** @page imgstore-signals Image Store Signals
11 @signaldef image-deleting
13 char *(*image_deleting)(const PurpleStoredImage *img);
16 Emitted when a #PurpleStoredImage is about to be destroyed. This allows
17 for what amounts to weak references. Code can hold onto a pointer to
18 the PurpleStoredImage without actually "holding" a reference. They can
19 then use a signal handler to let them know when their img is about to
21 @param img The image about to be destroyed.
22 @note It's not possible to purple_imgstore_ref() img to save it.
26 // vim: syntax=c.doxygen tw=75 et