summaryrefslogtreecommitdiff
path: root/util/coreboot-configurator/src/application/NvramToolCli.h
blob: 0fbb326f80ce2a3b25980cdfbdf92ec03875fa53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */

#pragma once

#include <QList>
#include <QMap>
#include <QString>

#include "Configuration.h"

/*
 * Namespace for convinient functions to work with nvramtool CLI utility
 */
namespace NvramToolCli {

Configuration::Parameters readParameters(QString* error = nullptr);
QStringList readOptions(const QString& parameter, QString* error = nullptr);
bool writeParameters(const Configuration::Parameters& parameters, QString* error = nullptr);
QString version(void);

}