From 7500700777fa9b66d3bff94c6a0846d7ffdb2365 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Fri, 2 Oct 2020 15:21:36 +0200 Subject: #988 remove legacy configuration file Add getopt parser and use json configuration file instead. --- src/ogAdmLib.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/ogAdmLib.h') diff --git a/src/ogAdmLib.h b/src/ogAdmLib.h index c52ad5c..4880951 100644 --- a/src/ogAdmLib.h +++ b/src/ogAdmLib.h @@ -73,9 +73,6 @@ typedef void* LPVOID; #define TRUE 1 #define FALSE 0 -extern char szPathFileCfg[4096],szPathFileLog[4096]; -extern int ndebug; // Nivel de debuger - typedef struct{ // Estructura de las tramas char arroba; // Caracter arroba siempre char identificador[14]; // Identificador de la trama, siempre JMMLCAMDJ_MCDJ @@ -86,7 +83,6 @@ typedef struct{ // Estructura de las tramas // ________________________________________________________________________________________________________ // Prototipo de funciones // ________________________________________________________________________________________________________ -BOOLEAN validacionParametros(int,char**,int); int splitCadena(char **,char *, char); char* StrToUpper(char *); void FINCADaINTRO(TRAMA*); @@ -104,7 +100,3 @@ char* escaparCadena(char *cadena); #define container_of(ptr, type, member) ({ \ typeof( ((type *)0)->member ) *__mptr = (ptr); \ (type *)( (char *)__mptr - offsetof(type,member) );}) - -#include - -bool tomaConfiguracion(const char *filecfg); -- cgit v1.2.3-18-g5258