#ifndef STATUS_H_ #define STATUS_H_ #include typedef enum stat_type { SIZE_BYTES, TIME_SECS } stat_type_t; typedef struct status { unsigned long long cur; unsigned long long total; bool is_done; stat_type_t type; } status_t; #endif