Apply mailmap in git-blame output.
[git/git.git] / progress.h
CommitLineData
96a02f8f
NP
1#ifndef __progress_h__
2#define __progress_h__
3
4struct progress {
13aaf148 5 const char *prefix;
96a02f8f
NP
6 unsigned total;
7 unsigned last_percent;
180a9f22
NP
8 unsigned delay;
9 unsigned delayed_percent_treshold;
10 const char *delayed_title;
96a02f8f
NP
11};
12
13int display_progress(struct progress *progress, unsigned n);
13aaf148
NP
14void start_progress(struct progress *progress, const char *title,
15 const char *prefix, unsigned total);
180a9f22
NP
16void start_progress_delay(struct progress *progress, const char *title,
17 const char *prefix, unsigned total,
18 unsigned percent_treshold, unsigned delay);
96a02f8f
NP
19void stop_progress(struct progress *progress);
20
21#endif