Function
FwupdPlugincommon_get_volume_by_device
Declaration [src]
FuVolume*
fu_common_get_volume_by_device (
const gchar* device,
GError** error
)
Parameters
device |
const gchar* |
A device string, typically starting with |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | FuVolume |
A volume, or |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |