summaryrefslogtreecommitdiff
path: root/progress.h
blob: 4c6d53524b5ebc6bec4fd4c569776802816dfdbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef PROGRESS_H
#define PROGRESS_H
 
struct progress;
 
int display_progress(struct progress *progress, unsigned n);
struct progress *start_progress(const char *title, unsigned total);
struct progress *start_progress_delay(const char *title, unsigned total,
				       unsigned percent_treshold, unsigned delay);
void stop_progress(struct progress **progress);
 
#endif