OsinfoFirmware
OsinfoFirmware — A firmware representation for a (guest) OS
|
|
Object Hierarchy
GObject
╰── OsinfoEntity
╰── OsinfoFirmware
Description
OsinfoFirmware is an entity representing a firmware used to boot
a (guest) operating system.
Functions
osinfo_firmware_new ()
OsinfoFirmware *
osinfo_firmware_new (const gchar *id
,
const gchar *architecture
,
const gchar *type
);
osinfo_firmware_get_architecture ()
const gchar *
osinfo_firmware_get_architecture (OsinfoFirmware *firmware
);
Retrieves the target hardware architecture of the OS firmware
provides.
Returns
the hardware architecture, or NULL.
[transfer none]
osinfo_firmware_get_firmware_type ()
const gchar *
osinfo_firmware_get_firmware_type (OsinfoFirmware *firmware
);
osinfo_firmware_is_supported ()
gboolean
osinfo_firmware_is_supported (OsinfoFirmware *firmware
);
Types and Values
OSINFO_FIRMWARE_PROP_ARCHITECTURE
# define OSINFO_FIRMWARE_PROP_ARCHITECTURE "architecture"
OSINFO_FIRMWARE_PROP_TYPE
# define OSINFO_FIRMWARE_PROP_TYPE "type"
OSINFO_FIRMWARE_PROP_SUPPORTED
# define OSINFO_FIRMWARE_PROP_SUPPORTED "supported"
Property Details
The “architecture”
property
“architecture” gchar *
The target hardware architecture of this firmware.
Owner: OsinfoFirmware
Flags: Read / Write
Default value: NULL
The “type”
property
“type” gchar *
The firmware type.
Owner: OsinfoFirmware
Flags: Read / Write
Default value: NULL