mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-05 10:40:20 +00:00

These are currently used interchangeably since there was indecisiveness which to use as the feature was being developed. As outward facing it will be named with "settings", change all uses in the code to match this.
21 lines
552 B
C
21 lines
552 B
C
/*
|
|
* Copyright (C) 2022 Mario Limonciello <mario.limonciello@amd.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <libfwupd/fwupd-bios-setting.h>
|
|
|
|
#define FU_TYPE_FIRMWARE_ATTRS (fu_bios_settings_get_type())
|
|
|
|
G_DECLARE_FINAL_TYPE(FuBiosSettings, fu_bios_settings, FU, BIOS_SETTINGS, GObject)
|
|
|
|
FuBiosSettings *
|
|
fu_bios_settings_new(void);
|
|
gboolean
|
|
fu_bios_settings_get_pending_reboot(FuBiosSettings *self, gboolean *result, GError **error);
|
|
FwupdBiosSetting *
|
|
fu_bios_settings_get_attr(FuBiosSettings *self, const gchar *val);
|