summaryrefslogtreecommitdiff
path: root/src/status.h
blob: 97f8a4e78e592d19247c6036f92ef6cb30294ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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