Method

FwupdPluginPluginget_config_value_boolean

Declaration [src]

gboolean
fu_plugin_get_config_value_boolean (
  FuPlugin* self,
  const gchar* key
)

Description [src]

Return the boolean value of a key if it’s been configured.

Available since:1.4.0

Parameters

key const gchar*
 

A settings key.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE if the value is true (case insensitive), FALSE otherwise.