diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-17 17:21:14 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-09-17 17:46:07 +0200 |
commit | ad31c3832d08fa1aca7bb473141cd5265e6f670d (patch) | |
tree | e82220091b7cee1de96202dd9753bd71f5b7cd81 /src/json.h | |
parent | 32b9a53f577e960b7f6120342d67f2c98277f2c1 (diff) |
rest: remove scheduler code
Put ogserver into diet, remove this feature, including pending command queue.
Diffstat (limited to 'src/json.h')
-rw-r--r-- | src/json.h | 24 |
1 files changed, 4 insertions, 20 deletions
@@ -3,7 +3,9 @@ #include <jansson.h> #include <stdint.h> -#include "schedule.h" +#include <stdbool.h> +#include "list.h" +#include "dbi.h" int og_json_parse_string(const json_t *element, const char **str); int og_json_parse_string_copy(const json_t *element, char *str, size_t size); @@ -41,21 +43,6 @@ int og_json_parse_partition(json_t *element, struct og_partition *part, #define OG_CLIENTS_MAX 4096 -struct og_sync_params { - const char *sync; - const char *diff; - const char *remove; - const char *compress; - const char *cleanup; - const char *cache; - const char *cleanup_cache; - const char *remove_dst; - const char *diff_id; - const char *diff_name; - const char *path; - const char *method; -}; - #define OG_PARAM_SCOPE_ID (1UL << 0) #define OG_PARAM_SCOPE_TYPE (1UL << 1) @@ -87,10 +74,7 @@ struct og_msg_params { const char *comment; bool echo; struct og_partition partition_setup[OG_PARTITION_MAX]; - struct og_sync_params sync_setup; - struct og_schedule_time time; - struct og_image image; - const char *task_id; + struct og_image image; uint64_t flags; bool backup; }; |