summaryrefslogtreecommitdiffstats
path: root/sources/ogAdmServer.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-26 20:13:42 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-26 20:13:42 +0200
commit37e91b2ebb14082e366ed4a9b09d76a2f6163818 (patch)
tree71b10fc0e6452d3c5e12e167c55ac3f9aace63a8 /sources/ogAdmServer.h
parent8215e0c6c1465eca8ec93cbf3f1f835e8bb7495b (diff)
#971 rename sources folder to src
Use the same folder as in ogClient.
Diffstat (limited to 'sources/ogAdmServer.h')
-rw-r--r--sources/ogAdmServer.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/sources/ogAdmServer.h b/sources/ogAdmServer.h
deleted file mode 100644
index d5061cd..0000000
--- a/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*);