summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-06-23 12:29:49 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-23 13:04:06 +0200
commit1f43ddcb59974fe3c61e4414511ebac5661952fd (patch)
treec37904f1a680d7b9a3ab203bb163d7aa202b7a8c /admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h
parentbbf5371425f80e0b82eff65f1a570ef3a4e2f5ea (diff)
#985 Remove ogAdmServer folder
ogAdmServer now has its own repo as ogServer. Check: https://github.com/opengnsys/ogServer
Diffstat (limited to 'admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h')
-rw-r--r--admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h
deleted file mode 100644
index d5061cd3..00000000
--- a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// ********************************************************************************************************
-// Servicio: ogAdmServer
-// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
-// Fecha Creación: Marzo-2010
-// Fecha Última modificación: Marzo-2010
-// Nombre del fichero: ogAdmServer.h
-// Descripción: Este fichero implementa el servicio de administración general del sistema
-// ********************************************************************************************************
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include <errno.h>
-#include <unistd.h>
-#include <time.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <stdbool.h>
-#include "ogAdmLib.h"
-// ________________________________________________________________________________________________________
-// Variables globales
-// ________________________________________________________________________________________________________
-char servidoradm[LONPRM]; // Dirección IP del servidor de administración
-char puerto[LONPRM]; // Puerto de comunicación
-
-struct og_client;
-
-typedef struct{ // Estructura usada para guardar información de los clientes
- char ip[LONIP]; // IP del cliente
- char estado[4]; // Tipo de Sistema Operativo en que se encuentra el cliente
- struct og_client *cli;
-}SOCKETCL;
-SOCKETCL tbsockets[MAXIMOS_CLIENTES];
-
-struct og_dbi;
-
-bool clienteExistente(char *,int *);
-bool clienteDisponible(char *,int *);
-bool actualizaConfiguracion(struct og_dbi *,char* ,int);
-bool Levanta(char**, char**, int, char*);
-bool WakeUp(int,char*,char*,char*);
-bool actualizaCreacionImagen(struct og_dbi *,char*,char*,char*,char*,char*,char*);
-bool actualizaRestauracionImagen(struct og_dbi *,char*,char*,char*,char*,char*);
-bool actualizaHardware(struct og_dbi *dbi, char* ,char*,char*,char*);
-bool cuestionPerfilHardware(struct og_dbi *dbi,char*,char*,int,char*,char*,int *,int);
-bool actualizaSoftware(struct og_dbi *, char* , char* , char*,char*,char*);
-bool cuestionPerfilSoftware(struct og_dbi *, char*, char*,int,int,char*,char*,char*,int *,int);
-
-int checkDato(struct og_dbi *,char*,const char*,const char*,const char*);