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, 2 insertions, 1 deletions
diff --git a/src/dbi.h b/src/dbi.h
index 81eac3e..909a4bd 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -82,7 +82,6 @@ struct og_legacy_partition {
struct og_computer {
unsigned int procedure_id;
unsigned int hardware_id;
- unsigned int server_id;
unsigned int repo_id;
unsigned int center;
unsigned int room;
@@ -140,5 +139,7 @@ int og_dbi_schema_update(void);
int og_dbi_get_repository_ip(const struct og_dbi *dbi, const uint32_t repo_id,
const char *client_ip, char *repository_ip);
+int og_dbi_get_server_ip(const struct og_dbi *dbi, const char *client_ip,
+ char *server_ip);
#endif