summaryrefslogtreecommitdiffstats
path: root/admin/Services/ogAdmAgent/sources/ogAdmAgent.h
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Services/ogAdmAgent/sources/ogAdmAgent.h')
-rw-r--r--admin/Services/ogAdmAgent/sources/ogAdmAgent.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/admin/Services/ogAdmAgent/sources/ogAdmAgent.h b/admin/Services/ogAdmAgent/sources/ogAdmAgent.h
deleted file mode 100644
index f9b26be8..00000000
--- a/admin/Services/ogAdmAgent/sources/ogAdmAgent.h
+++ /dev/null
@@ -1,72 +0,0 @@
-//*****************************************************************************
-// Aplicación OpenGNSys
-// Autor: José Manuel Alonso.
-// Licencia: Open Source
-// Fichero: ogAdmAgent.h
-// Descripción:
-// Fichero de cabebera del módulo de la aplicación OpenGNSys que implementa
-// las comunicaciones con el Servidor.
-// ****************************************************************************
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <unistd.h>
-#include <time.h>
-#include <ctype.h>
-#include </usr/include/mysql/mysql.h>
-#include <pthread.h>
-#include "Database.h"
-#include "ogAdmLib.h"
-
-
-FILE *FLog,*Fconfig;
-
-char IPlocal[20]; // Ip local
-char servidorhidra[20]; // IP servidor HIDRA
-char Puerto[20]; // Puerto Unicode
-int puerto; // Puerto
-char usuario[20];
-char pasguor[20];
-char datasource[20];
-char catalog[50];
-
-BYTE HEX_annos[]={0,0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80};
-
-WORD HEX_meses[]={0,0x0001,0x0002,0x0004,0x0008,0x0010,0x0020,0x0040,0x0080,0x0100,0x0200,0x0400,0x0800};
-
-int HEX_dias[]={0,0x00000001,0x00000002,0x00000004,0x00000008,0x00000010,0x00000020,0x00000040,0x00000080,0x00000100,0x00000200,
- 0x00000400,0x00000800,0x00001000,0x00002000,0x00004000,0x00008000,0x00010000,0x00020000,0x00040000,0x00080000,
- 0x00100000,0x00200000,0x00400000,0x00800000,0x01000000,0x02000000,0x04000000,0x08000000,0x10000000,0x20000000,0x40000000};
-
-WORD HEX_horas[]={0x0001,0x0002,0x0004,0x0008,0x0010,0x0020,0x0040,0x0080,0x0100,0x0200,0x0400,0x0800 };
-
-BYTE HEX_diasemana[]={0,0x01,0x02,0x04,0x08,0x10,0x20,0x40};
-
-BYTE HEX_semanas[]={0,0x01,0x02,0x04,0x08,0x10,0x20};
-
-WORD dias_meses[]={0,31,28,31,30,31,30,31,31,30,31,30,31};
-
-
-// Prototipo de funciones
-void inicializa(void);
-void Pausa(int);
-
-int busca_accion(WORD ,WORD ,WORD ,WORD ,WORD,WORD );
-int busca_reserva(WORD ,WORD ,WORD ,WORD ,WORD,WORD );
-
-int DiadelaSemana(WORD ,WORD ,WORD );
-bool bisiesto(WORD );
-int SemanadelMes(int ,int );
-int EjecutarTrabajo(int ,Database,char* );
-int EjecutarTarea(int ,int ,int ,int ,Database,char* );
-int EjecutarReserva(int,Database,char*);
-
-int envia_comando(char*);
-SOCKET AbreConexion(char*,int);
-int TomaConfiguracion(void);
-int manda_trama(SOCKET ,TRAMA* );