summaryrefslogtreecommitdiff
path: root/src/status.h
blob: e5dcf48906e8c877e8731c9c09ec0601405d87e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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 long cur;
  unsigned long long total;
  bool is_done;
  stat_type_t type;
} status_t;

#endif