summaryrefslogtreecommitdiffstats
path: root/core/picture.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/picture.h')
-rw-r--r--core/picture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/picture.h b/core/picture.h
index da1a42acd..4e42052a4 100644
--- a/core/picture.h
+++ b/core/picture.h
@@ -34,6 +34,7 @@ extern void add_to_picture_table(struct picture_table *, int idx, struct picture
extern void copy_pictures(const struct picture_table *s, struct picture_table *d);
extern void add_picture(struct picture_table *, struct picture newpic);
extern bool remove_picture(struct picture_table *, const char *filename);
+extern int get_picture_idx(const struct picture_table *, const char *filename); /* Return -1 if not found */
#ifdef __cplusplus
}