Method

FwupdPluginQuirkslookup_by_id_iter

since: 1.3.3

Declaration [src]

gboolean
fu_quirks_lookup_by_id_iter (
  FuQuirks* self,
  const gchar* guid,
  FuQuirksIter iter_cb,
  gpointer user_data
)

Description [src]

Looks up all entries in the hardware database using a GUID value.

Available since: 1.3.3

Parameters

guid

Type: const gchar*

GUID to lookup.

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

Type: FuQuirksIter

A function to call for each result.

user_data

Type: gpointer

User data passed to iter_cb.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the ID was found, and iter was called.