36#ifndef MUTT_PROGRESS_LIB_H
37#define MUTT_PROGRESS_LIB_H
56bool progress_update(
struct Progress *progress,
size_t pos,
int percent);
ProgressType
What kind of operation is this progress tracking?
@ MUTT_PROGRESS_NET
Progress tracks bytes, according to $net_inc
@ MUTT_PROGRESS_READ
Progress tracks elements, according to $read_inc
@ MUTT_PROGRESS_WRITE
Progress tracks elements, according to $write_inc
void progress_free(struct Progress **ptr)
Free a Progress Bar.
bool progress_update(struct Progress *progress, size_t pos, int percent)
Update the state of the progress bar.
struct Progress * progress_new(const char *msg, enum ProgressType type, size_t size)
Create a new Progress Bar.