summaryrefslogtreecommitdiffstats
path: root/src/json.h
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-05-14 10:45:59 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-26 17:19:30 +0200
commit12d8fff3efef35aa61777f82133e627030bc0b27 (patch)
tree9ee62c732703f84cd565d55b68a809466fce1a45 /src/json.h
parent10c9559dfc46afd5710b2d49fb61fe5ccafc87d0 (diff)
#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.
Diffstat (limited to 'src/json.h')
-rw-r--r--src/json.h2
1 files changed, 2 insertions, 0 deletions
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;