]> Pileus Git - ~andy/git/blob - progress.h
Merge branch 'sp/maint-plug-traverse-commit-list-leak' into sp/fetch-fix
[~andy/git] / progress.h
1 #ifndef PROGRESS_H
2 #define PROGRESS_H
3
4 struct progress;
5
6 void display_throughput(struct progress *progress, unsigned long n);
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);
12
13 #endif