Method
FwupdPluginEfivarsget_data_bytes
Declaration [src]
GBytes*
fu_efivars_get_data_bytes (
FuEfivars* self,
const gchar* guid,
const gchar* name,
FuEfiVariableAttrs* attr,
GError** error
)
Parameters
guid |
const gchar* |
Globally unique identifier. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
name |
const gchar* |
Variable name. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
attr |
FuEfiVariableAttrs |
|
|
| The argument will be set by the function. | |
| The instance takes ownership of the data, and is responsible for freeing it. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GBytes |
A |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. |