summaryrefslogtreecommitdiff
path: root/lib/display/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/display/display.h')
-rw-r--r--lib/display/display.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/display/display.h b/lib/display/display.h
index fbd7b2663..2a932d9cd 100644
--- a/lib/display/display.h
+++ b/lib/display/display.h
@@ -20,12 +20,13 @@
#include <stdint.h>
-typedef enum { SIZE_LONG = 0, SIZE_SHORT = 1, SIZE_UNIT = 2 } size_len_t;
-
uint64_t units_to_bytes(const char *units, char *unit_type);
/* Specify size in KB */
-const char *display_size(struct cmd_context *cmd, uint64_t size, size_len_t sl);
+const char *display_size(struct cmd_context *cmd, uint64_t size);
+const char *display_size_long(struct cmd_context *cmd, uint64_t size);
+const char *display_size_units(struct cmd_context *cmd, uint64_t size);
+
char *display_uuid(char *uuidstr);
void display_stripe(const struct lv_segment *seg, uint32_t s, const char *pre);