unpack-trees: batch fetching of missing blobs
[git/debian.git] / progress.h
blob6392b633710c84dcff3a238a26f4d4b359053059
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_delayed_progress(const char *title, unsigned total);
10 void stop_progress(struct progress **progress);
11 void stop_progress_msg(struct progress **progress, const char *msg);
13 #endif