diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-10-07 11:10:36 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-10-07 11:17:00 +0200 |
commit | fe1ce97c50e575201fe47d7587251e228edf8fdf (patch) | |
tree | 4656eeb2fe23e2ef1a148af1303cae329c449078 /src/dbi.h | |
parent | 3cea4bb763165d119a329a1c7f2c767857cdb384 (diff) |
#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.
Diffstat (limited to 'src/dbi.h')
-rw-r--r-- | src/dbi.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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; |