summaryrefslogtreecommitdiffstats
path: root/sources/ogAdmServer.h
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2019-12-17 12:26:28 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-02 12:32:36 +0200
commit96b9bb865c4d4dbd2df8e5d07e9dbf83dbc25d2c (patch)
treed6bf90a2090f89fb94326d89704b9006f923a6b7 /sources/ogAdmServer.h
parent6a0fcf96700a7b640114ea40cb64e3c3a5213a68 (diff)
#942 Add /run/task to API REST
This patch adds a new command to the REST API to run tasks. A task (tarea) is composed of procedures (procedimientos), each procedure is composed of commands (acciones) that are represented through legacy sockHidra parameters in the database. This results in iterating over the task (tareas_acciones) table in the database to fetch the list of procedures (procedimientos). Then, this iterates over the list commands that compose a procedures represented through procedimientos_acciones table. Finally, this builds and sends the sockHidra legacy message for the client. This patch includes an implementation of the Linux linked list.
Diffstat (limited to 'sources/ogAdmServer.h')
-rw-r--r--sources/ogAdmServer.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sources/ogAdmServer.h b/sources/ogAdmServer.h
index 0bfa61e..acc88c2 100644
--- a/sources/ogAdmServer.h
+++ b/sources/ogAdmServer.h
@@ -18,7 +18,6 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdbool.h>
-#include </usr/include/mysql/mysql.h>
#include "ogAdmLib.h"
// ________________________________________________________________________________________________________
// Variables globales