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, 3 insertions, 0 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 8db3a9c..7e0757c 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -94,6 +94,7 @@ struct og_computer {
};
struct og_room {
+ uint32_t id;
uint32_t center;
uint32_t group;
char location[OG_DB_ROOM_LOC_MAXLEN + 1];
@@ -114,6 +115,8 @@ struct og_repository {
struct in_addr;
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);
int og_dbi_schema_update(void);