[b9eb98b] | 1 | // ******************************************************************************************************** |
---|
| 2 | // Servicio: ogAdmServer |
---|
| 3 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
| 4 | // Fecha Creación: Marzo-2010 |
---|
| 5 | // Fecha Última modificación: Marzo-2010 |
---|
| 6 | // Nombre del fichero: ogAdmServer.h |
---|
| 7 | // Descripción: Este fichero implementa el servicio de administración general del sistema |
---|
| 8 | // ******************************************************************************************************** |
---|
| 9 | #include <stdio.h> |
---|
| 10 | #include <stdlib.h> |
---|
| 11 | #include <string.h> |
---|
| 12 | #include <ctype.h> |
---|
| 13 | #include <errno.h> |
---|
| 14 | #include <unistd.h> |
---|
| 15 | #include <time.h> |
---|
| 16 | #include <sys/types.h> |
---|
| 17 | #include <sys/socket.h> |
---|
| 18 | #include <netinet/in.h> |
---|
| 19 | #include <arpa/inet.h> |
---|
[f74067f] | 20 | #include <stdbool.h> |
---|
[b9eb98b] | 21 | #include "ogAdmLib.h" |
---|
[d6789f1] | 22 | |
---|
[ecff994] | 23 | struct og_dbi; |
---|
| 24 | |
---|
[fa6b891] | 25 | bool actualizaConfiguracion(struct og_dbi *,char* ,int); |
---|
[41ac15d] | 26 | bool WakeUp(int, const char *, const char *, const char *, const char *); |
---|
[9cc156c] | 27 | bool actualizaCreacionImagen(struct og_dbi *,char*,char*,char*,char*,char*,char*); |
---|
[03f1941] | 28 | bool actualizaHardware(struct og_dbi *dbi, char* ,char*,char*,char*); |
---|
| 29 | bool cuestionPerfilHardware(struct og_dbi *dbi,char*,char*,int,char*,char*,int *,int); |
---|
[fa6b891] | 30 | bool actualizaSoftware(struct og_dbi *, char* , char* , char*,char*,char*); |
---|
| 31 | bool cuestionPerfilSoftware(struct og_dbi *, char*, char*,int,int,char*,char*,char*,int *,int); |
---|
[b9eb98b] | 32 | |
---|
[fa6b891] | 33 | int checkDato(struct og_dbi *,char*,const char*,const char*,const char*); |
---|