Method
FwupdPluginDeviceset_contents
Declaration [src]
gboolean
fu_device_set_contents (
FuDevice* self,
const gchar* filename,
GInputStream* stream,
FuProgress* progress,
GError** error
)
Parameters
filename |
const gchar* |
Full path to a file. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
stream |
GInputStream |
Data to write. |
|
| The data is owned by the caller of the function. | |
progress |
FuProgress |
A |
|
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |