40#ifndef DT_DATABASE_REMOVED_IMAGE_REPOSITORY_H
41#define DT_DATABASE_REMOVED_IMAGE_REPOSITORY_H
G_BEGIN_DECLS int dt_removed_image_repository_create(const int32_t imgid)
Copy every row imgid owns out of main, so the removal about to happen can be undone.
void dt_removed_image_repository_clear(const int snap_id, const int32_t imgid)
Drop snapshot snap_id of imgid, making the removal permanent.
gboolean dt_removed_image_repository_restore(const int snap_id, const int32_t imgid)
Copy snapshot snap_id of imgid back into main, film roll included.