summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2019-10-25 14:11:05 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-10-25 14:11:11 +0200
commit32abc01e2301264a0d327ad88ce27b61247298cb (patch)
tree9562fb40fc9489f2dd712f2f7a5630a068790909
parentdba299f6944b64961f5ee66551757293354206a1 (diff)
#915 Add EjecutaComandosPendientes for ogAdmClient
This new command kicks in pending commands execution. This simplies the update of the web console significantly.
-rw-r--r--admin/Sources/Clients/ogAdmClient/sources/ogAdmClient.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/Sources/Clients/ogAdmClient/sources/ogAdmClient.c b/admin/Sources/Clients/ogAdmClient/sources/ogAdmClient.c
index 9035e81a..6f87cc45 100644
--- a/admin/Sources/Clients/ogAdmClient/sources/ogAdmClient.c
+++ b/admin/Sources/Clients/ogAdmClient/sources/ogAdmClient.c
@@ -2132,6 +2132,12 @@ BOOLEAN ejecutaArchivo(char* filecmd,TRAMA *ptrTrama)
liberaMemoria(buffer);
return(TRUE);
}
+
+BOOLEAN EjecutaComandosPendientes(TRAMA* ptrTrama)
+{
+ return(TRUE);
+}
+
//______________________________________________________________________________________________________
// Función: enviaMensajeServidor
//
@@ -2262,6 +2268,9 @@ int main(int argc, char *argv[])
strcpy(tbfuncionesClient[cf].nf, "InventarioSoftware");
tbfuncionesClient[cf++].fptr = &InventarioSoftware;
+ strcpy(tbfuncionesClient[cf].nf, "EjecutaComandosPendientes");
+ tbfuncionesClient[cf++].fptr = &EjecutaComandosPendientes;
+
/*--------------------------------------------------------------------------------------------------------
Toma dirección IP del cliente
---------------------------------------------------------------------------------------------------------*/