Constructor
FwupdPluginFirmwarenew_from_gtypes
Declaration [src]
FuFirmware*
fu_firmware_new_from_gtypes (
GBytes* fw,
gsize offset,
FwupdInstallFlags flags,
GError** error,
...
)
Parameters
fw |
GBytes |
Firmware blob. |
|
The data is owned by the caller of the function. | |
offset |
gsize |
Start offset, useful for ignoring a bootloader. |
|
flags |
FwupdInstallFlags |
Install flags, e.g. |
|
error |
GError |
Optional return location for an error. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
... |
none |
An array of |
Return value
Returns: | FuFirmware |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |