]> git.ipfire.org Git - thirdparty/git.git/blame - progress.h
make struct progress an opaque type
[thirdparty/git.git] / progress.h
CommitLineData
e0173ad9
JH
1#ifndef PROGRESS_H
2#define PROGRESS_H
96a02f8f 3
dc6a0757 4struct progress;
96a02f8f
NP
5
6int display_progress(struct progress *progress, unsigned n);
dc6a0757
NP
7struct progress *start_progress(const char *title, unsigned total);
8struct progress *start_progress_delay(const char *title, unsigned total,
9 unsigned percent_treshold, unsigned delay);
10void stop_progress(struct progress **progress);
96a02f8f
NP
11
12#endif