diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-31 04:13:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-31 04:13:00 +0000 |
commit | dc3f3471f8a00ce0c8fb4cbf2a31e299696f3bbc (patch) | |
tree | e97b4f25c511372d73bdd96c389c5f468d99138a /util/suffix.h | |
parent | Adding upstream version 2.2.1. (diff) | |
download | nvme-cli-dc3f3471f8a00ce0c8fb4cbf2a31e299696f3bbc.tar.xz nvme-cli-dc3f3471f8a00ce0c8fb4cbf2a31e299696f3bbc.zip |
Adding upstream version 2.3.upstream/2.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'util/suffix.h')
-rw-r--r-- | util/suffix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/suffix.h b/util/suffix.h index 4f8e041..b367ce4 100644 --- a/util/suffix.h +++ b/util/suffix.h @@ -33,8 +33,11 @@ #ifndef __ARGCONFIG_SUFFIX_H__ #include <inttypes.h> +#include <stdbool.h> const char *suffix_si_get(double *value); +uint64_t suffix_si_parse(const char *value, bool *suffixed); +const char *suffix_si_get_ld(long double *value); const char *suffix_binary_get(long long *value); const char *suffix_dbinary_get(double *value); uint64_t suffix_binary_parse(const char *value); |