summaryrefslogtreecommitdiff
path: root/util/coreboot-configurator/src/application/NvramToolCli.h
blob: 3bb5d0a6eae55c25e7cb9edd7f185e00fa3fd2d4 (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();

}