mirror of https://git.48k.eu/ogserver
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);master
parent
1fdb7e6d1c
commit
88c8b52e88
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue