5#ifndef BOOTLOADERMANAGER_H
6#define BOOTLOADERMANAGER_H
13#include <unordered_map>
67 static void set_value(std::string_view var, uint64_t value,
bool hex =
false);
75 static void set_value(std::string_view var, std::string_view value);
88 static void get_value(std::string_view var, uint64_t& value);
96 static void get_value(std::string_view var, std::string& value);
102 static void list_vars(std::unordered_map<std::string, std::string>& environment);
The bootloader_manager class.
Definition bootloader_manager.h:56
static void get_value(std::string_view var, uint64_t &value)
Get a bootloader variable value.
static void get_value(std::string_view var, std::string &value)
Get a bootloader variable value.
static void set_value(std::string_view var, std::string_view value)
Set a bootloader variable value.
static void list_vars(std::unordered_map< std::string, std::string > &environment)
Get all the bootloader variable names and their values.
static void set_value(std::string_view var, uint64_t value, bool hex=false)
Set a bootloader variable value.
Any entities that belong to the system library.