Method
FwupdPluginCabinetadd_file
Declaration [src]
void
fu_cabinet_add_file (
FuCabinet* self,
const gchar* basename,
GBytes* data
)
Parameters
basename |
const gchar* |
Filename. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
data |
GBytes |
File data. |
|
The data is owned by the caller of the function. |