Code

make struct progress an opaque type
[git.git] / progress.h
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