Method
FwupdPluginPluginget_config_value
since: 1.0.6
Declaration [src]
gchar*
fu_plugin_get_config_value (
FuPlugin* self,
const gchar* key,
const gchar* value_default
)
Description [src]
Return the value of a key, falling back to the default value.
Available since: 1.0.6
Parameters
key
-
Type:
const gchar*
A settings key.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. value_default
-
Type:
const gchar*
The default value of the key if not found.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.