summaryrefslogtreecommitdiff
path: root/src/humane.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/humane.h')
-rw-r--r--src/humane.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/humane.h b/src/humane.h
new file mode 100644
index 0000000..959589e
--- /dev/null
+++ b/src/humane.h
@@ -0,0 +1,12 @@
+#ifndef _JIO_HUMANE_H
+#define _JIO_HUMANE_H
+
+#include <stdint.h>
+
+typedef struct humane_t {
+ char buf[sizeof("1023.99 EiB")];
+} humane_t;
+
+char * humane_bytes(humane_t *humane, uint64_t bytes);
+
+#endif
© All Rights Reserved