Method
FwupdPluginBackendcreate_device_for_donor
Declaration [src]
FuDevice*
fu_backend_create_device_for_donor (
FuBackend* self,
FuDevice* donor,
GError** error
)
Description [src]
Asks the backend to create a device (of the correct type) for a given donor device.
| Available since: | 2.0.0 |
Parameters
donor |
FuDevice |
A donor |
|
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | FuDevice |
A |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. |