Loading files
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PROGRSS_H
#define __PROGRSS_H
#ifdef __cplusplus
extern "C" {
#endif
/* Initialize a progress bar. If max > 0 a one line progress
* bar is printed where 'max' corresponds to 100%. If max == 0
* a multi line progress bar is printed.
*/
void init_progression_bar(int max);
/* update a progress bar to a new value. If now < 0 then a
* spinner is printed.
*/
void show_progress(int now);
#ifdef __cplusplus
}
#endif
#endif /* __PROGRSS_H */
6c6c23830This file is pinned to the selected release. Download the original to open it in your design tool.