From fe1ce97c50e575201fe47d7587251e228edf8fdf Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Wed, 7 Oct 2020 11:10:36 +0200 Subject: #988 remove legacy configuration Use og_server_cfg everywhere. Convert port to string to make it easy for the dbi API since it expects a string. Remove legacy example configuration file. --- src/dbi.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/dbi.h') 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; -- cgit v1.2.3-18-g5258