]> git.ipfire.org Git - thirdparty/git.git/blame - progress.h
Git 1.7.8-rc2
[thirdparty/git.git] / progress.h
CommitLineData
e0173ad9
JH
1#ifndef PROGRESS_H
2#define PROGRESS_H
96a02f8f 3
dc6a0757 4struct progress;
96a02f8f 5
218558af 6void display_throughput(struct progress *progress, off_t total);
96a02f8f 7int display_progress(struct progress *progress, unsigned n);
dc6a0757
NP
8struct progress *start_progress(const char *title, unsigned total);
9struct progress *start_progress_delay(const char *title, unsigned total,
10 unsigned percent_treshold, unsigned delay);
11void stop_progress(struct progress **progress);
a984a06a 12void stop_progress_msg(struct progress **progress, const char *msg);
96a02f8f
NP
13
14#endif