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 /src/json.h | |
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);
Diffstat (limited to 'src/json.h')
-rw-r--r-- | src/json.h | 4 |
1 files changed, 4 insertions, 0 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; |