Method
FwupdPluginFirmwareget_image_by_id
Declaration [src]
FuFirmware*
fu_firmware_get_image_by_id (
FuFirmware* self,
const gchar* id,
GError** error
)
Parameters
id |
const gchar* |
Image ID, e.g. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | FuFirmware |
A |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |