progress: break too long progress bar lines
[git.git] / progress.h
blob59e40cc4fd003ec6037ef11e5f2270bfd28054f0
1 #ifndef PROGRESS_H
2 #define PROGRESS_H
4 struct progress;
6 void display_throughput(struct progress *progress, uint64_t total);
7 void display_progress(struct progress *progress, uint64_t n);
8 struct progress *start_progress(const char *title, uint64_t total);
9 struct progress *start_delayed_progress(const char *title, uint64_t total);
10 void stop_progress(struct progress **progress);
11 void stop_progress_msg(struct progress **progress, const char *msg);
13 #endif