make struct progress an opaque type
[git/mingw.git] / progress.h
blob4c6d53524b5ebc6bec4fd4c569776802816dfdbc
1 #ifndef PROGRESS_H
2 #define PROGRESS_H
4 struct progress;
6 int display_progress(struct progress *progress, unsigned n);
7 struct progress *start_progress(const char *title, unsigned total);
8 struct progress *start_progress_delay(const char *title, unsigned total,
9 unsigned percent_treshold, unsigned delay);
10 void stop_progress(struct progress **progress);
12 #endif