abc-master
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "misc/util/abc_global.h"
#include "base/main/main.h"
#include "bar.h"
Go to the source code of this file.
Data Structures | |
struct | Bar_Progress_t_ |
DECLARATIONS ///. More... | |
Functions | |
static void | Bar_ProgressShow (Bar_Progress_t *p, char *pString) |
static void | Bar_ProgressClean (Bar_Progress_t *p) |
Bar_Progress_t * | Bar_ProgressStart (FILE *pFile, int nItemsTotal) |
FUNCTION DEFINITIONS ///. More... | |
void | Bar_ProgressUpdate_int (Bar_Progress_t *p, int nItemsCur, char *pString) |
void | Bar_ProgressStop (Bar_Progress_t *p) |
|
static |
|
static |
Bar_Progress_t* Bar_ProgressStart | ( | FILE * | pFile, |
int | nItemsTotal | ||
) |
FUNCTION DEFINITIONS ///.
MACRO DEFINITIONS ///.
Function*************************************************************
Synopsis [Starts the progress bar.]
Description [The first parameter is the output stream (pFile), where the progress is printed. The current printing position should be the first one on the given line. The second parameters is the total number of items that correspond to 100% position of the progress bar.]
SideEffects []
SeeAlso []
Definition at line 66 of file bar.c.
void Bar_ProgressStop | ( | Bar_Progress_t * | p | ) |
void Bar_ProgressUpdate_int | ( | Bar_Progress_t * | p, |
int | nItemsCur, | ||
char * | pString | ||
) |