From 141b0797e17f616d633704a4b011fde515496ab3 Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Wed, 9 Jun 2021 11:25:29 +0000 Subject: #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. --- src/rest.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/rest.h') 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 -- cgit v1.2.3-18-g5258