fwupd/libfwupd/fwupd-enums-private.h
Richard Hughes 297055c9d8 Report the DeviceInstanceIDs to fwupdmgr get-updates
This makes it much easier to write metainfo files as we don't have to ask OEMs
or ODMs to run fwupdtool or fwupd with --verbose and then sort through hundreds
of debugging statements.

The fwupdmgr get-devices output also now prints output like this:

    20EQS64N0C System Firmware
      Guid:                 ddc0ee61-e7f0-4e7d-acc5-c070a398838e
      Guid:                 40ce5954-bfa8-5762-926b-f4848cb28bc8 <- UEFI\RES_{DDC0EE61-E7F0-4E7D-ACC5-C070A398838E}

We're deliberately not showing the InstanceId lines in the get-updates command
as the instance IDs are not useful in this case. It will also only show the
InstanceID lines when run as a trusted user, for instance root.
2019-02-04 15:19:57 +00:00

50 lines
2.3 KiB
C

/*
* Copyright (C) 2016-2018 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __FWUPD_ENUMS_PRIVATE_H
#define __FWUPD_ENUMS_PRIVATE_H
#define FWUPD_RESULT_KEY_APPSTREAM_ID "AppstreamId" /* s */
#define FWUPD_RESULT_KEY_CHECKSUM "Checksum" /* as */
#define FWUPD_RESULT_KEY_CREATED "Created" /* t */
#define FWUPD_RESULT_KEY_DESCRIPTION "Description" /* s */
#define FWUPD_RESULT_KEY_DEVICE_ID "DeviceId" /* s */
#define FWUPD_RESULT_KEY_PARENT_DEVICE_ID "ParentDeviceId"/* s */
#define FWUPD_RESULT_KEY_FILENAME "Filename" /* s */
#define FWUPD_RESULT_KEY_PROTOCOL "Protocol" /* s */
#define FWUPD_RESULT_KEY_FLAGS "Flags" /* t */
#define FWUPD_RESULT_KEY_FLASHES_LEFT "FlashesLeft" /* u */
#define FWUPD_RESULT_KEY_INSTALL_DURATION "InstallDuration" /* u */
#define FWUPD_RESULT_KEY_GUID "Guid" /* as */
#define FWUPD_RESULT_KEY_INSTANCE_IDS "InstanceIds" /* as */
#define FWUPD_RESULT_KEY_HOMEPAGE "Homepage" /* s */
#define FWUPD_RESULT_KEY_DETAILS_URL "DetailsUrl" /* s */
#define FWUPD_RESULT_KEY_SOURCE_URL "SourceUrl" /* s */
#define FWUPD_RESULT_KEY_ICON "Icon" /* as */
#define FWUPD_RESULT_KEY_LICENSE "License" /* s */
#define FWUPD_RESULT_KEY_MODIFIED "Modified" /* t */
#define FWUPD_RESULT_KEY_METADATA "Metadata" /* a{ss} */
#define FWUPD_RESULT_KEY_NAME "Name" /* s */
#define FWUPD_RESULT_KEY_PLUGIN "Plugin" /* s */
#define FWUPD_RESULT_KEY_RELEASE "Release" /* a{sv} */
#define FWUPD_RESULT_KEY_REMOTE_ID "RemoteId" /* s */
#define FWUPD_RESULT_KEY_SERIAL "Serial" /* s */
#define FWUPD_RESULT_KEY_SIZE "Size" /* t */
#define FWUPD_RESULT_KEY_SUMMARY "Summary" /* s */
#define FWUPD_RESULT_KEY_TRUST_FLAGS "TrustFlags" /* t */
#define FWUPD_RESULT_KEY_UPDATE_MESSAGE "UpdateMessage" /* s */
#define FWUPD_RESULT_KEY_UPDATE_ERROR "UpdateError" /* s */
#define FWUPD_RESULT_KEY_UPDATE_STATE "UpdateState" /* u */
#define FWUPD_RESULT_KEY_URI "Uri" /* s */
#define FWUPD_RESULT_KEY_VENDOR_ID "VendorId" /* s */
#define FWUPD_RESULT_KEY_VENDOR "Vendor" /* s */
#define FWUPD_RESULT_KEY_VENDOR "Vendor" /* s */
#define FWUPD_RESULT_KEY_VERSION_BOOTLOADER "VersionBootloader" /* s */
#define FWUPD_RESULT_KEY_VERSION_LOWEST "VersionLowest" /* s */
#define FWUPD_RESULT_KEY_VERSION "Version" /* s */
#endif /* __FWUPD_ENUMS_PRIVATE_H */