mirror of
https://review.coreboot.org/flashrom.git
synced 2025-10-16 07:11:53 +02:00

Change-Id: Ie523cf5b26a29de8e9e9efb56efe04a5ff86a59c Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/85073 Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
23 lines
699 B
C
23 lines
699 B
C
/*
|
|
* This file is part of the flashrom project.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* SPDX-FileCopyrightText: 2024 Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
|
|
*/
|
|
|
|
#ifndef __CLI_OUTPUT_H__
|
|
#define __CLI_OUTPUT_H__
|
|
|
|
#include <stdarg.h>
|
|
#include "flash.h"
|
|
|
|
extern enum flashrom_log_level verbose_screen;
|
|
extern enum flashrom_log_level verbose_logfile;
|
|
int open_logfile(const char * const filename);
|
|
int close_logfile(void);
|
|
void start_logging(void);
|
|
int flashrom_print_cb(enum flashrom_log_level level, const char *fmt, va_list ap);
|
|
void flashrom_progress_cb(enum flashrom_progress_stage stage, size_t current, size_t total, void* user_data);
|
|
|
|
#endif /* __CLI_OUTPUT_H__ */
|