1#ifndef PROGRESS_H
2#define PROGRESS_H
3
4struct progress;
5
6void display_throughput(struct progress *progress, off_t total);
7int display_progress(struct progress *progress, unsigned n);
8struct progress *start_progress(const char *title, unsigned total);
9struct progress *start_progress_delay(const char *title, unsigned total,
10 unsigned percent_treshold, unsigned delay);
11void stop_progress(struct progress **progress);
12void stop_progress_msg(struct progress **progress, const char *msg);
13
14#endif