summaryrefslogtreecommitdiffstats
path: root/src/ogAdmServer.c
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-07 11:10:36 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-07 11:17:00 +0200
commitfe1ce97c50e575201fe47d7587251e228edf8fdf (patch)
tree4656eeb2fe23e2ef1a148af1303cae329c449078 /src/ogAdmServer.c
parent3cea4bb763165d119a329a1c7f2c767857cdb384 (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/ogAdmServer.c')
-rw-r--r--src/ogAdmServer.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/ogAdmServer.c b/src/ogAdmServer.c
index 1568386..22fbfb1 100644
--- a/src/ogAdmServer.c
+++ b/src/ogAdmServer.c
@@ -23,26 +23,6 @@
#include <jansson.h>
#include <time.h>
-char usuario[4096]; // Usuario de acceso a la base de datos
-char pasguor[4096]; // Password del usuario
-char datasource[4096]; // Dirección IP del gestor de base de datos
-char catalog[4096]; // Nombre de la base de datos
-char interface[4096]; // Interface name
-char auth_token[4096]; // API token
-char servidoradm[4096]; // Dirección IP del servidor de administración
-char puerto[4096]; // Puerto de comunicación
-char db_port[4096];
-
-struct og_dbi_config dbi_config = {
- .user = usuario,
- .passwd = pasguor,
- .host = datasource,
- .port = db_port,
- .database = catalog,
-};
-
-#define OG_CMD_MAXLEN 64
-
// ________________________________________________________________________________________________________
// Función: actualizaConfiguracion
//