Method

FwupdPluginPluginhas_custom_flag

Declaration [src]

gboolean
fu_plugin_has_custom_flag (
  FuPlugin* self,
  const gchar* flag
)

Description [src]

Returns if a per-plugin HwId custom flag exists, typically added from a DMI quirk.

Available since:1.3.1

Parameters

flag const gchar*
 

A custom text flag, specific to the plugin, e.g. uefi-force-enable

 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 quirk entry exists.