summaryrefslogtreecommitdiffstats
path: root/src/json.h
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-06-09 11:25:29 +0000
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-06-09 13:41:28 +0200
commit141b0797e17f616d633704a4b011fde515496ab3 (patch)
tree48b875bd0d52009a4eb7a681065bda082c59409d /src/json.h
parentcb7fa569b2f79e8c767b3969394839a96f241298 (diff)
#915 Add schedule/command
Enables ogserver to schedule commands (also referred as actions in legacy web console jargon). This feature enables ogserver to write in the "acciones" table in order to have full capabilities for command scheduling purposes, thus not depending in the legacy web console to insert into "acciones" table.
Diffstat (limited to 'src/json.h')
-rw-r--r--src/json.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/json.h b/src/json.h
index 193544a..08a78d0 100644
--- a/src/json.h
+++ b/src/json.h
@@ -92,4 +92,10 @@ struct og_msg_params {
uint64_t flags;
};
+struct og_cmd_json {
+ const char *type;
+ json_t *json;
+ uint32_t flags;
+};
+
#endif