| Top |  |  |  |  | 
| enum | FwupdStatus | 
| enum | FwupdTrustFlags | 
| #define | FWUPD_DEVICE_FLAG_NONE | 
| #define | FWUPD_DEVICE_FLAG_INTERNAL | 
| #define | FWUPD_DEVICE_FLAG_UPDATABLE | 
| #define | FWUPD_DEVICE_FLAG_ONLY_OFFLINE | 
| #define | FWUPD_DEVICE_FLAG_REQUIRE_AC | 
| #define | FWUPD_DEVICE_FLAG_LOCKED | 
| #define | FWUPD_DEVICE_FLAG_SUPPORTED | 
| #define | FWUPD_DEVICE_FLAG_REGISTERED | 
| #define | FWUPD_DEVICE_FLAG_NEEDS_REBOOT | 
| #define | FWUPD_DEVICE_FLAG_REPORTED | 
| #define | FWUPD_DEVICE_FLAG_NOTIFIED | 
| #define | FWUPD_DEVICE_FLAG_USE_RUNTIME_VERSION | 
| #define | FWUPD_DEVICE_FLAG_INSTALL_PARENT_FIRST | 
| #define | FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG | 
| #define | FWUPD_DEVICE_FLAG_IGNORE_VALIDATION | 
| #define | FWUPD_DEVICE_FLAG_TRUSTED | 
| #define | FWUPD_DEVICE_FLAG_NEEDS_SHUTDOWN | 
| #define | FWUPD_DEVICE_FLAG_ANOTHER_WRITE_REQUIRED | 
| #define | FWUPD_DEVICE_FLAG_NO_AUTO_INSTANCE_IDS | 
| #define | FWUPD_DEVICE_FLAG_UNKNOWN | 
| typedef | FwupdDeviceFlags | 
| enum | FwupdInstallFlags | 
| enum | FwupdUpdateState | 
| enum | FwupdKeyringKind | 
This file also provides helper functions to map enums to strings and back again.
See also: fwupd-error
const gchar *
fwupd_status_to_string (FwupdStatus status);
Converts a FwupdStatus to a string.
Since: 0.1.1
FwupdStatus
fwupd_status_from_string (const gchar *status);
Converts a string to a FwupdStatus.
Since: 0.1.1
const gchar *
fwupd_device_flag_to_string (FwupdDeviceFlags device_flag);
Converts a FwupdDeviceFlags to a string.
Since: 0.7.0
FwupdDeviceFlags
fwupd_device_flag_from_string (const gchar *device_flag);
Converts a string to a FwupdDeviceFlags.
Since: 0.7.0
const gchar *
fwupd_update_state_to_string (FwupdUpdateState update_state);
Converts a FwupdUpdateState to a string.
Since: 0.7.0
FwupdUpdateState
fwupd_update_state_from_string (const gchar *update_state);
Converts a string to a FwupdUpdateState.
Since: 0.7.0
const gchar *
fwupd_trust_flag_to_string (FwupdTrustFlags trust_flag);
Converts a FwupdTrustFlags to a string.
Since: 0.7.0
FwupdTrustFlags
fwupd_trust_flag_from_string (const gchar *trust_flag);
Converts a string to a FwupdTrustFlags.
Since: 0.7.0
FwupdKeyringKind
fwupd_keyring_kind_from_string (const gchar *keyring_kind);
Converts an printable string to an enumerated type.
Since: 0.9.7
const gchar *
fwupd_keyring_kind_to_string (FwupdKeyringKind keyring_kind);
Converts an enumerated type to a printable string.
Since: 0.9.7
The flags to show daemon status.
| Unknown state | ||
| Idle | ||
| Loading a resource | ||
| Decompressing firmware | ||
| Restarting the device | ||
| Writing to a device | ||
| Verifying (reading) a device | ||
| Scheduling an offline update | ||
| A file is downloading | ||
| Reading from a device | ||
| Erasing a device | ||
| Waiting for authentication | ||
| The device is busy | ||
| The daemon is shutting down | 
#define FWUPD_DEVICE_FLAG_USE_RUNTIME_VERSION (1u << 11) /* Since: 1.0.6 */
#define FWUPD_DEVICE_FLAG_INSTALL_PARENT_FIRST (1u << 12) /* Since: 1.0.8 */
#define FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG (1u << 14) /* Since: 1.1.2 */
#define FWUPD_DEVICE_FLAG_IGNORE_VALIDATION (1u << 15) /* Since: 1.1.2 */
#define FWUPD_DEVICE_FLAG_NEEDS_SHUTDOWN (1u << 17) /* Since: 1.2.4 */
#define FWUPD_DEVICE_FLAG_ANOTHER_WRITE_REQUIRED (1u << 18) /* Since: 1.2.5 */
#define FWUPD_DEVICE_FLAG_NO_AUTO_INSTANCE_IDS (1u << 19) /* Since: 1.2.5 */
Flags to set when performing the firwmare update or install.