summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/json.h4
-rw-r--r--src/rest.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/json.h b/src/json.h
index 0e98a6e..17e5698 100644
--- a/src/json.h
+++ b/src/json.h
@@ -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;
diff --git a/src/rest.h b/src/rest.h
index 508a234..43ddd66 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -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