summaryrefslogtreecommitdiffstats
path: root/src/dbi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbi.h')
-rw-r--r--src/dbi.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/dbi.h b/src/dbi.h
index e92ce43..7bfe311 100644
--- a/src/dbi.h
+++ b/src/dbi.h
@@ -6,10 +6,10 @@
struct og_dbi_config {
const char *user;
- const char *passwd;
- const char *host;
+ const char *pass;
+ const char *ip;
const char *port;
- const char *database;
+ const char *name;
};
struct og_dbi {
@@ -54,8 +54,6 @@ struct og_legacy_partition {
char format[2]; /* Format is a boolean 0 or 1 => length is 2 */
};
-extern struct og_dbi_config dbi_config;
-
struct og_computer {
unsigned int procedure_id;
unsigned int hardware_id;