progress.hon commit general improvements (43abf13)
   1#ifndef PROGRESS_H
   2#define PROGRESS_H
   3
   4struct progress;
   5
   6void display_throughput(struct progress *progress, uint64_t total);
   7void display_progress(struct progress *progress, uint64_t n);
   8struct progress *start_progress(const char *title, uint64_t total);
   9struct progress *start_sparse_progress(const char *title, uint64_t total);
  10struct progress *start_delayed_progress(const char *title, uint64_t total);
  11struct progress *start_delayed_sparse_progress(const char *title,
  12                                               uint64_t total);
  13void stop_progress(struct progress **progress);
  14void stop_progress_msg(struct progress **progress, const char *msg);
  15
  16#endif