summaryrefslogtreecommitdiffstats
path: root/src/rest.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/rest.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/rest.h')
-rw-r--r--src/rest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rest.h b/src/rest.h
index 43ddd66..508a234 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -94,4 +94,8 @@ struct og_cmd {
const struct og_cmd *og_cmd_find(const char *client_ip);
void og_cmd_free(const struct og_cmd *cmd);
+int og_json_parse_partition_setup(json_t *element, struct og_msg_params *params);
+int og_json_parse_create_image(json_t *element, struct og_msg_params *params);
+int og_json_parse_restore_image(json_t *element, struct og_msg_params *params);
+
#endif