diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-06-10 17:00:19 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-06-10 17:00:43 +0200 |
commit | 88c8b52e8855fb26d6985cafeca77f2ae618fd97 (patch) | |
tree | 018b1bd467a5ddb4fbbb92ce3304c64e1539022e | |
parent | 1fdb7e6d1cf0709b1079b2d9990c0d53d8740461 (diff) |
move json function declarations to json.h
These function declarations belong to json.h:
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);
-rw-r--r-- | src/json.h | 4 | ||||
-rw-r--r-- | src/rest.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -92,6 +92,10 @@ struct og_msg_params { uint64_t flags; }; +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); + struct og_cmd_json { const char *type; json_t *json; @@ -94,8 +94,4 @@ 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 |