Merge branch 'jt/fetch-no-update-shallow-in-proto-v2'
[git/gitster.git] / progress.h
blob7b725acc8d7b6cbaa5e36743b42b29d8c22d868d
1 #ifndef PROGRESS_H
2 #define PROGRESS_H
4 struct progress;
6 void display_throughput(struct progress *progress, uint64_t total);
7 int display_progress(struct progress *progress, uint64_t n);
8 struct progress *start_progress(const char *title, uint64_t total);
9 struct progress *start_sparse_progress(const char *title, uint64_t total);
10 struct progress *start_delayed_progress(const char *title, uint64_t total);
11 struct progress *start_delayed_sparse_progress(const char *title,
12 uint64_t total);
13 void stop_progress(struct progress **progress);
14 void stop_progress_msg(struct progress **progress, const char *msg);
16 #endif