Function
Fwupdinstall_flags_from_string
since: 2.0.4
Declaration [src]
FwupdInstallFlags
fwupd_install_flags_from_string (
const gchar* str
)
Parameters
str-
Type:
const gchar*A string, e.g.
allow-reinstall.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: FwupdInstallFlags
An enumerated install flag, e.g. FWUPD_INSTALL_FLAG_ALLOW_REINSTALL.