Method
FwupdPluginDevicesecurity_attr_new
Declaration [src]
FwupdSecurityAttr*
fu_device_security_attr_new (
FuDevice* self,
const gchar* appstream_id
)
Parameters
appstream_id |
const gchar* |
The AppStream component 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. |
Return value
Returns: | FwupdSecurityAttr |
A |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |