summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 4f1d81c..1d11aa2 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -49,4 +49,15 @@ struct og_legacy_partition {
extern struct og_dbi_config dbi_config;
+struct og_computer {
+ unsigned int id;
+ unsigned int center;
+ unsigned int room;
+ char name[OG_DB_COMPUTER_NAME_MAXLEN + 1];
+ unsigned int procedure_id;
+};
+
+struct in_addr;
+int og_dbi_get_computer_info(struct og_computer *computer, struct in_addr addr);
+
#endif