Revision 16b183094e7c93e194bc2c471e95fe3386e6fb69 authored by Peter Krefting on 01 July 2012, 22:04:09 UTC, committed by Peter Krefting on 01 July 2012, 22:04:09 UTC
Signed-off-by: Peter Krefting <peter@softwolves.pp.se>
1 parent 0ce2e39
progress.h
#ifndef PROGRESS_H
#define PROGRESS_H
struct progress;
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
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...