Staging
v0.5.1
Revision 0bc85abb7aa9b24b093253018801a0fb43d01122 authored by Junio C Hamano on 09 April 2014, 19:04:34 UTC, committed by Junio C Hamano on 09 April 2014, 19:04:34 UTC
The second maintenance release for Git 1.9; contains all the fixes
that are scheduled to appear in Git 2.0.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 3c9e56b
Raw File
progress.h
#ifndef PROGRESS_H
#define PROGRESS_H

struct progress;

void display_throughput(struct progress *progress, off_t total);
int display_progress(struct progress *progress, unsigned n);
struct progress *start_progress(const char *title, unsigned total);
struct progress *start_progress_delay(const char *title, unsigned total,
				       unsigned percent_treshold, unsigned delay);
void stop_progress(struct progress **progress);
void stop_progress_msg(struct progress **progress, const char *msg);

#endif
back to top