Function

FwupdPluginefivar_get_monitor

Declaration [src]

GFileMonitor*
fu_efivar_get_monitor (
  const gchar* guid,
  const gchar* name,
  GError** error
)

Description [src]

Returns a file monitor for a specific key.

Available since:1.5.5

Parameters

guid const gchar*
 

Globally unique identifier.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
name const gchar*
 

Variable name.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GFileMonitor
 

A GFileMonitor, or NULL for an error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.