Revision 09afcd6933e8497c997205dda71d718e62b4de62 authored by Alexandre Julliard on 11 August 2007, 10:22:47 UTC, committed by Junio C Hamano on 13 August 2007, 19:58:38 UTC
Signed-off-by: Alexandre Julliard <julliard@winehq.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 04d70be
progress.h
#ifndef PROGRESS_H
#define PROGRESS_H
struct progress {
const char *prefix;
unsigned total;
unsigned last_percent;
unsigned delay;
unsigned delayed_percent_treshold;
const char *delayed_title;
int need_lf;
};
int display_progress(struct progress *progress, unsigned n);
void start_progress(struct progress *progress, const char *title,
const char *prefix, unsigned total);
void start_progress_delay(struct progress *progress, const char *title,
const char *prefix, unsigned total,
unsigned percent_treshold, unsigned delay);
void stop_progress(struct progress *progress);
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...