diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-12-17 12:26:28 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-02 12:32:36 +0200 |
commit | 72429965b2bab22e1b2d8f8541690dab1c118f6e (patch) | |
tree | d3d07124cdc6b5a2b80b9eca571fcfb60ae2e105 /admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h | |
parent | 7e5e25e44628c407916ca9774a32f0d349dbfe69 (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 'admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h')
-rw-r--r-- | admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h index 0bfa61e5..acc88c2c 100644 --- a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.h +++ b/admin/Sources/Services/ogAdmServer/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 |