summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-04 11:53:35 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-10-04 12:00:22 +0200
commitd6d15a753ea9abc98f8e401adc031b67679b34c6 (patch)
tree23cfc5aeb446dc49f3c3acc53054f2ecc68fa149 /src/dbi.h
parentd1734b30ec57588fe6fbaffe3482453b92e5a949 (diff)
src: move og_delete_image to dbi.c
Move og_delete_image into dbi.c as og_dbi_delete_image to use it from client.c no functional changes.
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 9e8dd6e..46fbd70 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -135,6 +135,7 @@ int og_dbi_get_room_info(struct og_dbi *dbi, struct og_room *room,
int og_dbi_get_center_info(struct og_dbi *dbi, struct og_center *center);
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_delete_image(struct og_dbi *dbi, const uint32_t image_id);
int og_dbi_schema_update(void);