summaryrefslogtreecommitdiff
path: root/progress.h
diff options
context:
space:
mode:
Diffstat (limited to 'progress.h')
-rw-r--r--progress.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/progress.h b/progress.h
index 61cb68dfa5..611e4c4d42 100644
--- a/progress.h
+++ b/progress.h
@@ -3,11 +3,12 @@
struct progress;
-void display_throughput(struct progress *progress, unsigned long n);
+void display_throughput(struct progress *progress, off_t total);
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);
+void stop_progress_msg(struct progress **progress, const char *msg);
#endif