diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-10-02 15:21:36 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-10-05 14:49:17 +0200 |
commit | 7500700777fa9b66d3bff94c6a0846d7ffdb2365 (patch) | |
tree | 5351b451683c641969e1ad13e08c6de3b5acdd21 /src/ogAdmLib.h | |
parent | a67f27a092d947c3d1eb57b02fc461dd855fbd45 (diff) |
#988 remove legacy configuration file
Add getopt parser and use json configuration file instead.
Diffstat (limited to 'src/ogAdmLib.h')
-rw-r--r-- | src/ogAdmLib.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 <stdbool.h> - -bool tomaConfiguracion(const char *filecfg); |