summaryrefslogtreecommitdiff
path: root/src/status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/status.h')
-rw-r--r--src/status.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/status.h b/src/status.h
new file mode 100644
index 0000000..97f8a4e
--- /dev/null
+++ b/src/status.h
@@ -0,0 +1,16 @@
+#ifndef STATUS_H_
+#define STATUS_H_
+
+#include <stdbool.h>
+
+typedef enum stat_type { SIZE_BYTES, TIME_SECS } stat_type_t;
+
+typedef struct status {
+ unsigned long cur;
+ unsigned long total;
+ bool is_done;
+ stat_type_t type;
+} status_t;
+
+
+#endif