diff options
Diffstat (limited to 'src/dbi.h')
-rw-r--r-- | src/dbi.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -27,6 +27,7 @@ void og_dbi_close(struct og_dbi *db); #define OG_DB_ROOM_LOC_MAXLEN 255 #define OG_DB_SERIAL_NUMBER_MAXLEN 25 #define OG_DB_IMAGE_DESCRIPTION_MAXLEN 250 +#define OG_DB_REPO_NAME_MAXLEN 250 #define OG_DB_PART_NAME_MAXLEN 250 #define OG_DB_IMAGE_NAME_MAXLEN 50 #define OG_DB_FILESYSTEM_MAXLEN 16 @@ -104,6 +105,11 @@ struct og_room { bool remote; }; +struct og_repository { + char name[OG_DB_REPO_NAME_MAXLEN]; + char ip[OG_DB_IP_MAXLEN]; +}; + struct in_addr; int og_dbi_get_computer_info(struct og_dbi *dbi, struct og_computer *computer, struct in_addr addr); |