Function
FwupdPluginefivar_get_data_bytes
Declaration [src]
GBytes*
fu_efivar_get_data_bytes (
const gchar* guid,
const gchar* name,
guint32* 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 |
guint32* |
Attributes. |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GBytes |
A |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |