From 12d8fff3efef35aa61777f82133e627030bc0b27 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Fri, 14 May 2021 10:45:59 +0200 Subject: #1037 Add disk type Add ogServer support for parsing and storing in the DB disk type data from ogClient refresh response. See also commits with #1037 in ogClient and WebConsole repo. --- src/json.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/json.h') diff --git a/src/json.h b/src/json.h index d7bc072..193544a 100644 --- a/src/json.h +++ b/src/json.h @@ -18,9 +18,11 @@ int og_json_parse_bool(json_t *element, bool *value); #define OG_PARAM_PART_DISK (1UL << 5) #define OG_PARAM_PART_OS (1UL << 6) #define OG_PARAM_PART_USED_SIZE (1UL << 7) +#define OG_PARAM_PART_DISK_TYPE (1UL << 8) struct og_partition { const char *disk; + const char *disk_type; const char *number; const char *code; const char *size; -- cgit v1.2.3-18-g5258