🌐 AI搜索 & 代理 主页
blob: 70a4d4a0d66ebda2423acf4b5dc84ba485a874b8 [file] [log] [blame]
Junio C Hamanoe0173ad2007-04-29 06:38:521#ifndef PROGRESS_H
2#define PROGRESS_H
Nicolas Pitre96a02f82007-04-18 18:27:453
Nicolas Pitredc6a0752007-10-30 18:57:324struct progress;
Nicolas Pitre96a02f82007-04-18 18:27:455
Elijah Newrend6861d02017-11-13 20:15:586void display_throughput(struct progress *progress, uint64_t total);
7int display_progress(struct progress *progress, uint64_t n);
8struct progress *start_progress(const char *title, uint64_t total);
9struct progress *start_delayed_progress(const char *title, uint64_t total);
Nicolas Pitredc6a0752007-10-30 18:57:3210void stop_progress(struct progress **progress);
Nicolas Pitrea984a062007-11-08 20:45:4111void stop_progress_msg(struct progress **progress, const char *msg);
Nicolas Pitre96a02f82007-04-18 18:27:4512
13#endif