20#ifndef CLUSTALO_PROGRESS_H
21#define CLUSTALO_PROGRESS_H
23#include "squid/stopwatch.h"
31 char pcLastLogMsg[1024];
44 unsigned long int iStep,
unsigned long int iTotalSteps,
void ProgressDone(progress_t *pprProgress)
Finishes progress output by printing the elapsed time.
Definition progress.c:161
void FreeProgress(progress_t **pprProgress)
Frees progress structure and its members.
Definition progress.c:86
void NewProgress(progress_t **pprProgress, FILE *prFile, char *pcPrefix, bool bPrintCR)
Allocates a new progress structure and initialises its members. Free with FreeProgress()
Definition progress.c:54
void ProgressLog(progress_t *prProgress, unsigned long int iStep, unsigned long int iTotalSteps, bool bForceOutput)
Prints a progress update (and a carriage return)
Definition progress.c:115
char * pcPrefix
Definition progress.h:29
Stopwatch_t * prStopwatch
Definition progress.h:32
bool bPrintCR
Definition progress.h:30
FILE * prFile
Definition progress.h:27