remove dead code from the csum-file interface
[git/jrn.git] / progress.h
blob3912969e6039405758fde6ac1169d516adc0f3a3
1 #ifndef PROGRESS_H
2 #define PROGRESS_H
4 struct progress;
6 void display_throughput(struct progress *progress, off_t total);
7 int display_progress(struct progress *progress, unsigned n);
8 struct progress *start_progress(const char *title, unsigned total);
9 struct progress *start_progress_delay(const char *title, unsigned total,
10 unsigned percent_treshold, unsigned delay);
11 void stop_progress(struct progress **progress);
13 #endif