mirror of
https://github.com/git/git.git
synced 2024-09-23 15:32:57 +02:00
15 lines
325 B
C
15 lines
325 B
C
|
#ifndef __progress_h__
|
||
|
#define __progress_h__
|
||
|
|
||
|
struct progress {
|
||
|
const char *msg;
|
||
|
unsigned total;
|
||
|
unsigned last_percent;
|
||
|
};
|
||
|
|
||
|
int display_progress(struct progress *progress, unsigned n);
|
||
|
void start_progress(struct progress *progress, const char *msg, unsigned total);
|
||
|
void stop_progress(struct progress *progress);
|
||
|
|
||
|
#endif
|