Method
FwupdPluginDeviceEventcopy_data
Declaration [src]
gboolean
fu_device_event_copy_data (
FuDeviceEvent* self,
const gchar* key,
guint8* buf,
gsize bufsz,
gsize* actual_length,
GError** error
)
Parameters
key |
const gchar* |
A unique key, e.g. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
buf |
guint8* |
A buffer. |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
bufsz |
gsize |
Size of |
|
actual_length |
gsize* |
The actual number of bytes sent, or |
|
| The argument will be set by the function. | |
The argument can be NULL. | |
error |
GError ** |
The return location for a GError*, or NULL. |