diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-04 11:53:35 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-04 12:00:22 +0200 |
commit | d6d15a753ea9abc98f8e401adc031b67679b34c6 (patch) | |
tree | 23cfc5aeb446dc49f3c3acc53054f2ecc68fa149 /src/dbi.h | |
parent | d1734b30ec57588fe6fbaffe3482453b92e5a949 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |