summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbi.h b/src/dbi.h
index feac3fb..c9ef037 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -119,7 +119,8 @@ int og_dbi_get_computer_info(struct og_dbi *dbi, struct og_computer *computer,
struct in_addr addr);
int og_dbi_get_room_info(struct og_dbi *dbi, struct og_room *room,
uint32_t room_id);
-int og_dbi_add_image(struct og_dbi *dbi, const struct og_image *image);
+bool og_dbi_get_image(struct og_dbi *dbi, struct og_image *image);
+int og_dbi_add_image(struct og_dbi *dbi, struct og_image *image);
int og_dbi_schema_update(void);