Class
FwupdPluginEfivars
Instance methods
fu_efivars_delete
Removes a variable from NVRAM, returning an error if it does not exist.
since: 2.0.0
fu_efivars_get_boot_entries
Gets the loadopt data for all the entries listed in BootOrder
.
since: 2.0.0
fu_efivars_get_names
Gets the list of names where the GUID matches. An error is set if there are no names matching the GUID.
since: 2.0.0
fu_efivars_space_used
Gets the total size used by all EFI variables. This may be less than the size reported by the kernel as some (hopefully small) variables are hidden from userspace.
since: 2.0.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct FwupdPluginEfivarsClass {
GObjectClass parent_class;
gboolean (* supported) (
FuEfivars* self,
GError** error
);
guint64 (* space_used) (
FuEfivars* self,
GError** error
);
gboolean (* exists) (
FuEfivars* self,
const gchar* guid,
const gchar* name
);
GFileMonitor* (* get_monitor) (
FuEfivars* self,
const gchar* guid,
const gchar* name,
GError** error
);
gboolean (* get_data) (
FuEfivars* self,
const gchar* guid,
const gchar* name,
guint8** data,
gsize* data_sz,
guint32* attr,
GError** error
);
gboolean (* set_data) (
FuEfivars* self,
const gchar* guid,
const gchar* name,
const guint8* data,
gsize sz,
guint32 attr,
GError** error
);
gboolean (* delete) (
FuEfivars* self,
const gchar* guid,
const gchar* name,
GError** error
);
gboolean (* delete_with_glob) (
FuEfivars* self,
const gchar* guid,
const gchar* name_glob,
GError** error
);
GPtrArray* (* get_names) (
FuEfivars* self,
const gchar* guid,
GError** error
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
supported: gboolean (* supported) ( FuEfivars* self, GError** error )
No description available.
space_used: guint64 (* space_used) ( FuEfivars* self, GError** error )
No description available.
exists: gboolean (* exists) ( FuEfivars* self, const gchar* guid, const gchar* name )
No description available.
get_monitor: GFileMonitor* (* get_monitor) ( FuEfivars* self, const gchar* guid, const gchar* name, GError** error )
No description available.
get_data: gboolean (* get_data) ( FuEfivars* self, const gchar* guid, const gchar* name, guint8** data, gsize* data_sz, guint32* attr, GError** error )
No description available.
set_data: gboolean (* set_data) ( FuEfivars* self, const gchar* guid, const gchar* name, const guint8* data, gsize sz, guint32 attr, GError** error )
No description available.
delete: gboolean (* delete) ( FuEfivars* self, const gchar* guid, const gchar* name, GError** error )
No description available.
delete_with_glob: gboolean (* delete_with_glob) ( FuEfivars* self, const gchar* guid, const gchar* name_glob, GError** error )
No description available.
get_names: GPtrArray* (* get_names) ( FuEfivars* self, const gchar* guid, GError** error )
No description available.
Virtual methods
FwupdPlugin.EfivarsClass.delete
Removes a variable from NVRAM, returning an error if it does not exist.
since: 2.0.0
FwupdPlugin.EfivarsClass.get_names
Gets the list of names where the GUID matches. An error is set if there are no names matching the GUID.
since: 2.0.0
FwupdPlugin.EfivarsClass.space_used
Gets the total size used by all EFI variables. This may be less than the size reported by the kernel as some (hopefully small) variables are hidden from userspace.
since: 2.0.0