Method

FwupdPluginPluginhas_custom_flag

since: 1.3.1

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

Type: 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 value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if the quirk entry exists.