l10n: sv.po: Update Swedish translation (5013t0f0u)
[alt-git.git] / progress.h
blobf1913acf73f1790366ebd2f3f802f0472221bc7c
1 #ifndef PROGRESS_H
2 #define PROGRESS_H
4 struct progress;
6 #ifdef GIT_TEST_PROGRESS_ONLY
8 extern int progress_testing;
9 extern uint64_t progress_test_ns;
10 void progress_test_force_update(void);
12 #endif
14 void display_throughput(struct progress *progress, uint64_t total);
15 void display_progress(struct progress *progress, uint64_t n);
16 struct progress *start_progress(const char *title, uint64_t total);
17 struct progress *start_sparse_progress(const char *title, uint64_t total);
18 struct progress *start_delayed_progress(const char *title, uint64_t total);
19 struct progress *start_delayed_sparse_progress(const char *title,
20 uint64_t total);
21 void stop_progress(struct progress **progress);
22 void stop_progress_msg(struct progress **progress, const char *msg);
24 #endif