Namespace
Fwupd – 2.0
Functionality exported by libfwupd for client applications
Dependencies
| GObject—2.0 | The base type system library |
| Browse documentation | |
| Gio—2.0 | A modern, easy-to-use VFS API |
| Browse documentation | |
| Json—1.0 | API for efficient parsing and writing of JSON (JavaScript Object Notation) streams |
| Browse documentation |
Classes
| BiosSetting |
A BIOS setting that represents a setting in the firmware. since: 2.0 |
| Client |
Allow client code to call the daemon methods. since: 2.0 |
| Device |
A physical device on the host with optionally updatable firmware. since: 2.0 |
| Plugin |
A plugin which is used by fwupd to enumerate and update devices. since: 2.0 |
| Release |
A firmware release with a specific version. since: 2.0 |
| Remote |
A source of metadata that provides firmware. since: 2.0 |
| Report |
A firmware report from a vendor. since: 2.0 |
| Request |
A user request from the device. since: 2.0 |
| SecurityAttr |
A Host Security ID attribute that represents something that was measured. since: 2.0 |
Interfaces
| Codec |
A codec that can serialize and deserialize objects to formats such as text, JSON or since: 2.0 |
Aliases
| _guid_t |
since: 2.0 |
Enumerations
| BiosSettingKind |
The type of BIOS setting. since: 2.0 |
| ReleaseUrgency |
The release urgency. since: 2.0 |
| RemoteKind |
The kind of remote. since: 2.0 |
| RequestKind |
The kind of request we are asking of the user. since: 2.0 |
| SecurityAttrLevel |
The HSI level. since: 2.0 |
| SecurityAttrResult |
The HSI result. since: 2.0 |
| Status |
The flags to show daemon status. since: 2.0 |
| UpdateState |
The update state. since: 2.0 |
| VersionFormat |
The flags used when parsing version numbers. since: 2.0 |
Bitfields
| ClientDownloadFlags |
The options to use for downloading. since: 2.0 |
| ClientUploadFlags |
The options to use for uploading. since: 2.0 |
| CodecFlags |
The flags to use when converting data from one form to another. since: 2.0 |
| DeviceFlags |
Flags used to represent device attributes. since: 2.0 |
| DeviceProblem |
Problems are reasons why the device is not updatable. since: 2.0 |
| FeatureFlags |
The flags to the feature capabilities of the front-end client. since: 2.0 |
| GuidFlags |
The flags to show how the data should be converted. since: 2.0 |
| InstallFlags |
Flags to set when performing the firmware update or install. since: 2.0 |
| PluginFlags |
Flags used to represent plugin attributes. since: 2.0 |
| ReleaseFlags |
Flags used to represent release attributes. since: 2.0 |
| RemoteFlags |
The flags available for the remote. since: 2.0 |
| ReportFlags |
Flags used to represent report attributes. since: 2.0 |
| RequestFlags |
Flags used to represent request attributes. since: 2.0 |
| SecurityAttrFlags |
The flags available for HSI attributes. since: 2.0 |
| SelfSignFlags |
Flags to set when performing the firmware update or install. since: 2.0 |
Error Domains
| Error |
The error code. since: 2.0 |
Functions
| checksum_format_for_display |
Formats a checksum for display. since: 0.9.3 |
| checksum_get_best |
Gets a the best possible checksum kind. since: 0.9.4 |
| checksum_get_by_kind |
Gets a specific checksum kind. since: 0.9.4 |
| checksum_guess_kind |
Guesses the checksum kind based on the length of the hash. since: 0.9.3 |
| checksum_type_to_string_display |
Formats a checksum type for display. since: 1.9.6 |
| error_convert |
Convert the error to a since: 2.0.0 |
| error_from_string |
Converts a string to an enumerated error. since: 0.7.0 |
| error_quark |
An error quark. since: 0.1.1 |
| error_to_string |
Converts an enumerated error to a string. since: 0.7.0 |
| feature_flag_from_string |
Converts a string to an enumerated feature flag. since: 1.4.5 |
| feature_flag_to_string |
Converts a feature flag to a string. since: 1.4.5 |
| guid_from_string |
Converts a string GUID into its binary encoding. All string GUIDs are formatted as big endian but on-disk can be encoded in different ways. since: 1.2.5 |
| guid_hash_data |
Returns a GUID for some data. This uses a hash and so even small
differences in the since: 1.2.5 |
| guid_hash_string |
Returns a GUID for a given string. This uses a hash and so even small
differences in the since: 1.2.5 |
| guid_is_valid |
Checks the string is a valid GUID. since: 1.2.5 |
| guid_to_string |
Returns a text GUID of mixed or BE endian for a packed buffer. since: 1.2.5 |
| install_flags_from_string |
Converts text to an install flag. since: 2.0.4 |
| install_flags_to_string |
Converts an install flag to text. since: 2.0.0 |
| status_from_string |
Converts a string to an enumerated status. since: 0.1.1 |
| status_to_string |
Converts an enumerated status to a string. since: 0.1.1 |
| strerror |
Returns an untranslated string corresponding to the given error code, e.g. “no such process”. since: 2.0.11 |
| update_state_from_string |
Converts a string to an enumerated update state. since: 0.7.0 |
| update_state_to_string |
Converts an enumerated update state to a string. since: 0.7.0 |
| version_format_from_string |
Converts text to a display version type. since: 1.2.9 |
| version_format_to_string |
Converts an enumerated version format to text. since: 1.2.9 |
| version_string |
Gets the libfwupd installed runtime version. since: 1.6.1 |
Function Macros
| CHECK_VERSION |
Check whether a fwupd version equal to or greater than major.minor.micro. since: 2.0 |
Constants
| BATTERY_LEVEL_INVALID |
This value signifies the battery level is either unset, or the value cannot be discovered. since: 2.0 |
| BIOS_SETTING_DEBUG_CMD |
since: 2.0 |
| BIOS_SETTING_PENDING_REBOOT |
since: 2.0 |
| BIOS_SETTING_RESET_BIOS |
since: 2.0 |
| BIOS_SETTING_SELF_TEST |
since: 2.0 |
| DBUS_INTERFACE |
The dbus interface. since: 2.0 |
| DBUS_PATH |
The dbus path. since: 2.0 |
| DBUS_SERVICE |
The dbus service. since: 2.0 |
| DEVICE_ID_ANY |
Wildcard used for matching all device ids in fwupd. since: 2.0 |
| MAJOR_VERSION |
The compile-time major version. since: 2.0 |
| MICRO_VERSION |
The compile-time micro version. since: 2.0 |
| MINOR_VERSION |
The compile-time minor version. since: 2.0 |
| REQUEST_ID_DO_NOT_POWER_OFF |
Show the user a message not to unplug the machine from the AC power, e.g. “Do not turn off your computer or remove the AC adaptor until you are sure the update has completed.” since: 2.0 |
| REQUEST_ID_INSERT_USB_CABLE |
The user needs to insert the cable to complete the update, e.g. “The update will continue when the device USB cable has been re-inserted.” since: 2.0 |
| REQUEST_ID_PRESS_UNLOCK |
The user needs to press unlock on the device to continue, e.g. “Press unlock on the device to continue the update process.” since: 2.0 |
| REQUEST_ID_REMOVE_REPLUG |
The user needs to remove and reinsert the device to complete the update, e.g. “The update will continue when the device USB cable has been unplugged and then re-inserted.” since: 2.0 |
| REQUEST_ID_REMOVE_USB_CABLE |
The user needs to remove the device to complete the update, e.g. “The update will continue when the device USB cable has been unplugged.” since: 2.0 |
| REQUEST_ID_REPLUG_INSTALL |
Show the user a message to replug the device and then install the firmware, e.g. “Unplug and replug the device, to continue the update process.” since: 2.0 |
| REQUEST_ID_REPLUG_POWER |
Show the user a message to replug the power connector, e.g. “The update will continue when the device power cable has been unplugged and then re-inserted.” since: 2.0 |
| REQUEST_ID_RESTART_DAEMON |
Show the user a message that they need to restart the daemon, e.g. “Please restart the fwupd service.” since: 2.0 |
| RESULT_KEY_APPSTREAM_ID |
Result key to represent AppstreamId. since: 2.0 |
| RESULT_KEY_BATTERY_LEVEL |
Result key to represent the current battery level in percent. Expressed from 0-100%, or 101 for invalid or unset. since: 2.0 |
| RESULT_KEY_BATTERY_THRESHOLD |
Result key to represent the minimum battery level required to perform an update. Expressed from 0-100%, or 101 for invalid or unset. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_CURRENT_VALUE |
Result key to represent the current value of BIOS setting. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_FILENAME |
Result key to represent the filename within since: 2.0 |
| RESULT_KEY_BIOS_SETTING_ID |
Result key to represent the unique identifier of the BIOS setting. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_LOWER_BOUND |
Result key to represent the upper bound for an integer BIOS setting. or minimum length for string BIOS setting. The D-Bus type signature string is ‘t’ i.e. a unsigned 64 bit integer. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_POSSIBLE_VALUES |
Result key to represent possible values. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_READ_ONLY |
Result key to represent whether BIOS setting is read only. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_SCALAR_INCREMENT |
Result key to represent the scalar increment for an integer BIOS setting. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_TARGET_VALUE |
Result key to represent the value that would enable this attribute. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_TYPE |
Result key to represent the type of BIOS setting. 0 is invalid, 1+ represent an attribute type. since: 2.0 |
| RESULT_KEY_BIOS_SETTING_UPPER_BOUND |
Result key to represent the lower bound for an integer BIOS setting or maximum length for string BIOS setting. since: 2.0 |
| RESULT_KEY_BRANCH |
Result key to represent Branch. since: 2.0 |
| RESULT_KEY_CATEGORIES |
Result key to represent Categories. since: 2.0 |
| RESULT_KEY_CHECKSUM |
Result key to represent Checksum. since: 2.0 |
| RESULT_KEY_COMPOSITE_ID |
Result key to represent CompositeId. since: 2.0 |
| RESULT_KEY_CREATED |
Result key to represent Created. since: 2.0 |
| RESULT_KEY_DESCRIPTION |
Result key to represent Description. since: 2.0 |
| RESULT_KEY_DETACH_CAPTION |
Result key to represent DetachCaption. since: 2.0 |
| RESULT_KEY_DETACH_IMAGE |
Result key to represent DetachImage. since: 2.0 |
| RESULT_KEY_DETAILS_URL |
Result key to represent DetailsUrl. since: 2.0 |
| RESULT_KEY_DEVICE_ID |
Result key to represent DeviceId. since: 2.0 |
| RESULT_KEY_DEVICE_NAME |
Result key to represent the device name. since: 2.0 |
| RESULT_KEY_DISTRO_ID |
Result key to represent the distribution ID. since: 2.0 |
| RESULT_KEY_DISTRO_VARIANT |
Result key to represent the distribution variant. since: 2.0 |
| RESULT_KEY_DISTRO_VERSION |
Result key to represent the distribution version. since: 2.0 |
| RESULT_KEY_FILENAME |
Result key to represent Filename. since: 2.0 |
| RESULT_KEY_FLAGS |
Result key to represent Flags. since: 2.0 |
| RESULT_KEY_FLASHES_LEFT |
Result key to represent FlashesLeft. since: 2.0 |
| RESULT_KEY_GUID |
Result key to represent Guid. since: 2.0 |
| RESULT_KEY_HOMEPAGE |
Result key to represent Homepage. since: 2.0 |
| RESULT_KEY_HSI_LEVEL |
Result key to represent HsiLevel. since: 2.0 |
| RESULT_KEY_HSI_RESULT |
Result key to represent HsiResult. since: 2.0 |
| RESULT_KEY_HSI_RESULT_FALLBACK |
Result key to represent the fallback HsiResult. since: 2.0 |
| RESULT_KEY_HSI_RESULT_SUCCESS |
Result key to represent the desired HsiResult. since: 2.0 |
| RESULT_KEY_ICON |
Result key to represent Icon. since: 2.0 |
| RESULT_KEY_INSTALL_DURATION |
Result key to represent InstallDuration. since: 2.0 |
| RESULT_KEY_INSTANCE_IDS |
Result key to represent InstanceIds. since: 2.0 |
| RESULT_KEY_ISSUES |
Result key to represent Issues. since: 2.0 |
| RESULT_KEY_KERNEL_CURRENT_VALUE |
Result key to represent the current kernel setting. since: 2.0 |
| RESULT_KEY_KERNEL_TARGET_VALUE |
Result key to represent the target kernel setting. since: 2.0 |
| RESULT_KEY_LICENSE |
Result key to represent License. since: 2.0 |
| RESULT_KEY_LOCATIONS |
Result key to represent Locations. since: 2.0 |
| RESULT_KEY_METADATA |
Result key to represent Metadata. since: 2.0 |
| RESULT_KEY_MODIFIED |
Result key to represent Modified. since: 2.0 |
| RESULT_KEY_NAME |
Result key to represent Name. since: 2.0 |
| RESULT_KEY_NAME_VARIANT_SUFFIX |
Result key to represent NameVariantSuffix. since: 2.0 |
| RESULT_KEY_PARENT_DEVICE_ID |
Result key to represent ParentDeviceId. since: 2.0 |
| RESULT_KEY_PERCENTAGE |
Result key to represent progress percentage, typically installation or verification. since: 2.0 |
| RESULT_KEY_PLUGIN |
Result key to represent Plugin. since: 2.0 |
| RESULT_KEY_PROBLEMS |
Result key to represent problems. since: 2.0 |
| RESULT_KEY_PROTOCOL |
Result key to represent Protocol. since: 2.0 |
| RESULT_KEY_RELEASE |
Result key to represent Release. since: 2.0 |
| RESULT_KEY_RELEASE_ID |
Result key to represent the release ID. since: 2.0 |
| RESULT_KEY_REMOTE_ID |
Result key to represent RemoteId. since: 2.0 |
| RESULT_KEY_REPORTS |
Result key to represent an array of reports. since: 2.0 |
| RESULT_KEY_REQUEST_FLAGS |
Result key to represent RequestFlags. since: 2.0 |
| RESULT_KEY_REQUEST_KIND |
Result key to represent RequestKind. since: 2.0 |
| RESULT_KEY_SBOM_URL |
Result key to represent SourceUrl. since: 2.0 |
| RESULT_KEY_SERIAL |
Result key to represent Serial. since: 2.0 |
| RESULT_KEY_SIZE |
Result key to represent Size. since: 2.0 |
| RESULT_KEY_SOURCE_URL |
Result key to represent SourceUrl. since: 2.0 |
| RESULT_KEY_STATUS |
Result key to represent Status. since: 2.0 |
| RESULT_KEY_SUMMARY |
Result key to represent Summary. since: 2.0 |
| RESULT_KEY_TAGS |
Result key to represent release tags. since: 2.0 |
| RESULT_KEY_TRUST_FLAGS |
Result key to represent TrustFlags. since: 2.0 |
| RESULT_KEY_UPDATE_ERROR |
Result key to represent UpdateError. since: 2.0 |
| RESULT_KEY_UPDATE_IMAGE |
Result key to represent UpdateImage. since: 2.0 |
| RESULT_KEY_UPDATE_MESSAGE |
Result key to represent UpdateMessage. since: 2.0 |
| RESULT_KEY_UPDATE_STATE |
Result key to represent UpdateState. since: 2.0 |
| RESULT_KEY_URGENCY |
Result key to represent Urgency. since: 2.0 |
| RESULT_KEY_URI |
Result key to represent Uri. since: 2.0 |
| RESULT_KEY_VENDOR |
Result key to represent Vendor. since: 2.0 |
| RESULT_KEY_VENDOR_ID |
Result key to represent VendorId. since: 2.0 |
| RESULT_KEY_VERSION |
Result key to represent Version. since: 2.0 |
| RESULT_KEY_VERSION_BOOTLOADER |
Result key to represent VersionBootloader. since: 2.0 |
| RESULT_KEY_VERSION_BOOTLOADER_RAW |
Result key to represent VersionBootloaderRaw. since: 2.0 |
| RESULT_KEY_VERSION_BUILD_DATE |
Result key to represent VersionBuildDate. since: 2.0 |
| RESULT_KEY_VERSION_FORMAT |
Result key to represent VersionFormat. since: 2.0 |
| RESULT_KEY_VERSION_LOWEST |
Result key to represent VersionLowest. since: 2.0 |
| RESULT_KEY_VERSION_LOWEST_RAW |
Result key to represent VersionLowestRaw. since: 2.0 |
| RESULT_KEY_VERSION_OLD |
Result key to represent the old version string. since: 2.0 |
| RESULT_KEY_VERSION_RAW |
Result key to represent VersionRaw. since: 2.0 |
| SECURITY_ATTR_ID_AMD_ROLLBACK_PROTECTION |
Host Security ID attribute for Rollback protection of AMD platform firmware. since: 2.0 |
| SECURITY_ATTR_ID_AMD_SMM_LOCKED |
Host Security ID attribute for AMD SMM locked. since: 2.0 |
| SECURITY_ATTR_ID_AMD_SPI_REPLAY_PROTECTION |
Host Security ID attribute for SPI replay protection. since: 2.0 |
| SECURITY_ATTR_ID_AMD_SPI_WRITE_PROTECTION |
Host Security ID attribute for SPI Write protection. since: 2.0 |
| SECURITY_ATTR_ID_BIOS_CAPSULE_UPDATES |
Host Security ID attribute indicating Capsule updates are supported by the BIOS. since: 2.0 |
| SECURITY_ATTR_ID_BIOS_ROLLBACK_PROTECTION |
Host Security ID attribute for Rollback protection of BIOS firmware. since: 2.0 |
| SECURITY_ATTR_ID_CET_ACTIVE |
Host Security ID attribute for Intel CET active. since: 2.0 |
| SECURITY_ATTR_ID_CET_ENABLED |
Host Security ID attribute for Intel CET enabled. since: 2.0 |
| SECURITY_ATTR_ID_ENCRYPTED_RAM |
Host Security ID attribute indicating encrypted RAM available. since: 2.0 |
| SECURITY_ATTR_ID_FWUPD_ATTESTATION |
Host Security ID attribute for attestation. since: 2.0 |
| SECURITY_ATTR_ID_FWUPD_PLUGINS |
Host Security ID attribute for plugins. since: 2.0 |
| SECURITY_ATTR_ID_FWUPD_UPDATES |
Host Security ID attribute for updates. since: 2.0 |
| SECURITY_ATTR_ID_HOST_EMULATION |
Host Security ID attribute for host emulation. since: 2.0 |
| SECURITY_ATTR_ID_INTEL_BOOTGUARD_ACM |
Host Security ID attribute for Intel Bootguard ACM. since: 2.0 |
| SECURITY_ATTR_ID_INTEL_BOOTGUARD_ENABLED |
Host Security ID attribute for Intel Bootguard enabled. since: 2.0 |
| SECURITY_ATTR_ID_INTEL_BOOTGUARD_OTP |
Host Security ID attribute for Intel Bootguard OTP fuse. since: 2.0 |
| SECURITY_ATTR_ID_INTEL_BOOTGUARD_POLICY |
Host Security ID attribute for Intel Bootguard policy. since: 2.0 |
| SECURITY_ATTR_ID_INTEL_BOOTGUARD_VERIFIED |
Host Security ID attribute for Intel Bootguard verified. since: 2.0 |
| SECURITY_ATTR_ID_INTEL_GDS |
Host Security ID attribute indicating the processor is safe against Gather Data Sampling. since: 2.0 |
| SECURITY_ATTR_ID_IOMMU |
Host Security ID attribute for IOMMU. since: 2.0 |
| SECURITY_ATTR_ID_KERNEL_LOCKDOWN |
Host Security ID attribute for kernel lockdown. since: 2.0 |
| SECURITY_ATTR_ID_KERNEL_SWAP |
Host Security ID attribute for kernel swap. since: 2.0 |
| SECURITY_ATTR_ID_KERNEL_TAINTED |
Host Security ID attribute for kernel taint. since: 2.0 |
| SECURITY_ATTR_ID_MEI_KEY_MANIFEST |
Host Security ID attribute for Intel ME Key Manifest. since: 2.0 |
| SECURITY_ATTR_ID_MEI_MANUFACTURING_MODE |
Host Security ID attribute for Intel ME manufacturing mode. since: 2.0 |
| SECURITY_ATTR_ID_MEI_OVERRIDE_STRAP |
Host Security ID attribute for Intel ME override strap. since: 2.0 |
| SECURITY_ATTR_ID_MEI_VERSION |
Host Security ID attribute for Intel ME version. since: 2.0 |
| SECURITY_ATTR_ID_PLATFORM_DEBUG_ENABLED |
Host Security ID attribute for parts with debugging capabilities enabled. since: 2.0 |
| SECURITY_ATTR_ID_PLATFORM_DEBUG_LOCKED |
Host Security ID attribute for parts locked from debugging. since: 2.0 |
| SECURITY_ATTR_ID_PLATFORM_FUSED |
Host Security ID attribute for fused parts. since: 2.0 |
| SECURITY_ATTR_ID_PREBOOT_DMA_PROTECTION |
Host Security ID attribute for Pre-boot DMA protection. since: 2.0 |
| SECURITY_ATTR_ID_SMAP |
Host Security ID attribute for SMAP. since: 2.0 |
| SECURITY_ATTR_ID_SPI_BIOSWE |
Host Security ID attribute for Intel SPI BIOSWE configuration. since: 2.0 |
| SECURITY_ATTR_ID_SPI_BLE |
Host Security ID attribute for Intel SPI BLE configuration. since: 2.0 |
| SECURITY_ATTR_ID_SPI_DESCRIPTOR |
Host Security ID attribute for Intel SPI descriptor. since: 2.0 |
| SECURITY_ATTR_ID_SPI_SMM_BWP |
Host Security ID attribute for Intel SPI SMM BWP. since: 2.0 |
| SECURITY_ATTR_ID_SUPPORTED_CPU |
Host Security ID attribute for Supported CPU. since: 2.0 |
| SECURITY_ATTR_ID_SUSPEND_TO_IDLE |
Host Security ID attribute for Suspend to Idle. since: 2.0 |
| SECURITY_ATTR_ID_SUSPEND_TO_RAM |
Host Security ID attribute for Suspend to RAM. since: 2.0 |
| SECURITY_ATTR_ID_TPM_EMPTY_PCR |
Host Security ID attribute for empty PCR. since: 2.0 |
| SECURITY_ATTR_ID_TPM_RECONSTRUCTION_PCR0 |
Host Security ID attribute for TPM PCR0 reconstruction. since: 2.0 |
| SECURITY_ATTR_ID_TPM_VERSION_20 |
Host Security ID attribute for TPM 2.0 since: 2.0 |
| SECURITY_ATTR_ID_UEFI_BOOTSERVICE_VARS |
Host Security ID attribute indicating if Bootservice-only variables are hidden. since: 2.0 |
| SECURITY_ATTR_ID_UEFI_DB |
Host Security ID attribute for UEFI db certificate store. since: 2.0 |
| SECURITY_ATTR_ID_UEFI_MEMORY_PROTECTION |
Host Security ID attribute for UEFI memory protection. since: 2.0 |
| SECURITY_ATTR_ID_UEFI_PK |
Host Security ID attribute for UEFI PK. since: 2.0 |
| SECURITY_ATTR_ID_UEFI_SECUREBOOT |
Host Security ID attribute for UEFI secure boot. since: 2.0 |