summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dbi.h b/src/dbi.h
index c9ef037..3b88861 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -24,6 +24,7 @@ void og_dbi_close(struct og_dbi *db);
#define OG_DB_COMPUTER_NAME_MAXLEN 100
#define OG_DB_CENTER_NAME_MAXLEN 100
#define OG_DB_ROOM_NAME_MAXLEN 100
+#define OG_DB_FOLDER_NAME_MAXLEN 100
#define OG_DB_ROOM_LOC_MAXLEN 255
#define OG_DB_SERIAL_NUMBER_MAXLEN 25
#define OG_DB_IMAGE_DESCRIPTION_MAXLEN 250
@@ -108,6 +109,12 @@ struct og_room {
bool remote;
};
+struct og_folder {
+ unsigned int room;
+ unsigned int center;
+ char name[OG_DB_FOLDER_NAME_MAXLEN + 1];
+};
+
struct og_repository {
unsigned int center;
char name[OG_DB_REPO_NAME_MAXLEN];