mingw: allow building with an MSYS2 runtime v3.x
[git/git.git] / progress.h
CommitLineData
e0173ad9
JH
1#ifndef PROGRESS_H
2#define PROGRESS_H
96a02f8f 3
dc6a0757 4struct progress;
96a02f8f 5
d6861d02
EN
6void display_throughput(struct progress *progress, uint64_t total);
7int display_progress(struct progress *progress, uint64_t n);
8struct progress *start_progress(const char *title, uint64_t total);
9struct progress *start_delayed_progress(const char *title, uint64_t total);
dc6a0757 10void stop_progress(struct progress **progress);
a984a06a 11void stop_progress_msg(struct progress **progress, const char *msg);
96a02f8f
NP
12
13#endif