summaryrefslogtreecommitdiff
path: root/progress.h
diff options
context:
space:
mode:
Diffstat (limited to 'progress.h')
-rw-r--r--progress.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/progress.h b/progress.h
index 5fa4948117..1f2661e810 100644
--- a/progress.h
+++ b/progress.h
@@ -2,13 +2,14 @@
#define __progress_h__
struct progress {
- const char *msg;
+ const char *prefix;
unsigned total;
unsigned last_percent;
};
int display_progress(struct progress *progress, unsigned n);
-void start_progress(struct progress *progress, const char *msg, unsigned total);
+void start_progress(struct progress *progress, const char *title,
+ const char *prefix, unsigned total);
void stop_progress(struct progress *progress);
#endif