Top | ![]() |
![]() |
![]() |
![]() |
FuHwids * | fu_hwids_new () |
GPtrArray * | fu_hwids_get_keys () |
const gchar * | fu_hwids_get_value () |
void | fu_hwids_add_smbios_override () |
const gchar * | fu_hwids_get_replace_keys () |
gchar * | fu_hwids_get_replace_values () |
gchar * | fu_hwids_get_guid () |
GPtrArray * | fu_hwids_get_guids () |
gboolean | fu_hwids_has_guid () |
gboolean | fu_hwids_setup () |
#define | FU_TYPE_HWIDS |
#define | FU_HWIDS_KEY_BASEBOARD_MANUFACTURER |
#define | FU_HWIDS_KEY_BASEBOARD_PRODUCT |
#define | FU_HWIDS_KEY_BIOS_MAJOR_RELEASE |
#define | FU_HWIDS_KEY_BIOS_MINOR_RELEASE |
#define | FU_HWIDS_KEY_BIOS_VENDOR |
#define | FU_HWIDS_KEY_BIOS_VERSION |
#define | FU_HWIDS_KEY_FIRMWARE_MAJOR_RELEASE |
#define | FU_HWIDS_KEY_FIRMWARE_MINOR_RELEASE |
#define | FU_HWIDS_KEY_ENCLOSURE_KIND |
#define | FU_HWIDS_KEY_FAMILY |
#define | FU_HWIDS_KEY_MANUFACTURER |
#define | FU_HWIDS_KEY_PRODUCT_NAME |
#define | FU_HWIDS_KEY_PRODUCT_SKU |
FuHwids |
GPtrArray *
fu_hwids_get_keys (FuHwids *self
);
Returns all the defined HWID keys.
Since: 1.5.6
const gchar * fu_hwids_get_value (FuHwids *self
,const gchar *key
);
Gets the cached value for one specific key that is valid ASCII and suitable for display.
Since: 0.9.3
void fu_hwids_add_smbios_override (FuHwids *self
,const gchar *key
,const gchar *value
);
Sets SMBIOS override values so you can emulate another system.
This function has no effect if called after fu_hwids_setup()
self |
a FuHwids |
|
key |
a key, e.g. |
|
value |
a new value, e.g. |
[nullable] |
Since: 1.5.6
const gchar * fu_hwids_get_replace_keys (FuHwids *self
,const gchar *key
);
Gets the replacement key for a well known value.
Since: 0.9.3
gchar * fu_hwids_get_replace_values (FuHwids *self
,const gchar *keys
,GError **error
);
Gets the replacement values for a HardwareID key or plain key.
self |
a FuHwids |
|
keys |
a key, e.g. |
|
error |
optional return location for an error. |
[nullable] |
Since: 0.9.3
gchar * fu_hwids_get_guid (FuHwids *self
,const gchar *keys
,GError **error
);
Gets the GUID for a specific key.
self |
a FuHwids |
|
keys |
a key, e.g. |
|
error |
optional return location for an error. |
[nullable] |
Since: 0.9.3
GPtrArray *
fu_hwids_get_guids (FuHwids *self
);
Returns all the defined HWIDs
Since: 0.9.3
gboolean fu_hwids_has_guid (FuHwids *self
,const gchar *guid
);
Finds out if a hardware GUID exists.
Since: 0.9.3
#define FU_HWIDS_KEY_BASEBOARD_MANUFACTURER "BaseboardManufacturer"
The HwID key for the baseboard (motherboard) vendor.
Since: 1.3.7
#define FU_HWIDS_KEY_BASEBOARD_PRODUCT "BaseboardProduct"
The HwID key for baseboard (motherboard) product.
Since: 1.3.7
#define FU_HWIDS_KEY_BIOS_MAJOR_RELEASE "BiosMajorRelease"
The HwID key for the BIOS major version.
Since: 1.3.7
#define FU_HWIDS_KEY_BIOS_MINOR_RELEASE "BiosMinorRelease"
The HwID key for the BIOS minor version.
Since: 1.3.7
#define FU_HWIDS_KEY_BIOS_VENDOR "BiosVendor"
The HwID key for the BIOS vendor.
Since: 1.3.7
#define FU_HWIDS_KEY_BIOS_VERSION "BiosVersion"
The HwID key for the BIOS version.
Since: 1.3.7
#define FU_HWIDS_KEY_FIRMWARE_MAJOR_RELEASE "FirmwareMajorRelease"
The HwID key for the firmware major version.
Since: 1.6.1
#define FU_HWIDS_KEY_FIRMWARE_MINOR_RELEASE "FirmwareMinorRelease"
The HwID key for the firmware minor version.
Since: 1.6.1
#define FU_HWIDS_KEY_ENCLOSURE_KIND "EnclosureKind"
The HwID key for the enclosure kind.
Since: 1.3.7
#define FU_HWIDS_KEY_FAMILY "Family"
The HwID key for the deice family.
Since: 1.3.7
#define FU_HWIDS_KEY_MANUFACTURER "Manufacturer"
The HwID key for the top-level product vendor.
Since: 1.3.7
#define FU_HWIDS_KEY_PRODUCT_NAME "ProductName"
The HwID key for the top-level product product name.
Since: 1.3.7
#define FU_HWIDS_KEY_PRODUCT_SKU "ProductSku"
The HwID key for the top-level product SKU.
Since: 1.3.7