diff options
Diffstat (limited to 'src/dbi.h')
-rw-r--r-- | src/dbi.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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]; |