Constructor
FwupdBiosSettingnew
since: 1.8.4
Declaration [src]
FwupdBiosSetting*
fwupd_bios_setting_new (
const gchar* name,
const gchar* path
)
Parameters
name-
Type:
const gchar*The attribute name.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. path-
Type:
const gchar*The path the driver providing this attribute uses.
The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: FwupdBiosSetting
A new FwupdBiosSetting.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |