24 #ifndef MUTT_PROGRESS_H 25 #define MUTT_PROGRESS_H Progress tracks bytes, according to $net_inc
ProgressType
What kind of operation is this progress tracking?
void mutt_progress_update(struct Progress *progress, size_t pos, int percent)
Update the state of the progress bar.
Progress tracks elements, according to $write_inc
Progress tracks elements, according to $read_inc
void mutt_progress_init(struct Progress *progress, const char *msg, enum ProgressType type, size_t size)
Set up a progress bar.
short C_NetInc
Config: (socket) Update the progress bar after this many KB sent/received (0 to disable) ...
short C_WriteInc
Config: Update the progress bar after this many records written (0 to disable)
short C_ReadInc
Config: Update the progress bar after this many records read (0 to disable)
short C_TimeInc
Config: Frequency of progress bar updates (milliseconds)