fwupd/libfwupdplugin/fu-device-metadata.h
Mario Limonciello 1e17457b16 Allow building the documentation with gi-docgen and gtk-doc
Until gi-docgen is declared stable support either of them.
This effectively means that hand builds and CI builds will use
gi-docgen, but distro builds use gtk-doc-tools.
2021-06-09 22:21:53 +01:00

46 lines
1.3 KiB
C

/*
* Copyright (C) 2017 Mario Limonciello <mario.limonciello@dell.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <glib.h>
/**
* FU_DEVICE_METADATA_TBT_IS_SAFE_MODE:
*
* If the Thunderbolt hardware is stuck in safe mode.
* Consumed by the thunderbolt plugin.
*/
#define FU_DEVICE_METADATA_TBT_IS_SAFE_MODE "Thunderbolt::IsSafeMode"
/**
* FU_DEVICE_METADATA_UEFI_DEVICE_KIND:
*
* The type of UEFI device, e.g. "system-firmware" or "device-firmware"
* Consumed by the uefi plugin when other devices register fake devices that
* need to be handled as a capsule update.
*/
#define FU_DEVICE_METADATA_UEFI_DEVICE_KIND "UefiDeviceKind"
/**
* FU_DEVICE_METADATA_UEFI_FW_VERSION:
*
* The firmware version of the UEFI device specified as a 32 bit unsigned
* integer.
* Consumed by the uefi plugin when other devices register fake devices that
* need to be handled as a capsule update.
*/
#define FU_DEVICE_METADATA_UEFI_FW_VERSION "UefiFwVersion"
/**
* FU_DEVICE_METADATA_UEFI_CAPSULE_FLAGS:
*
* The capsule flags for the UEFI device, e.g. %EFI_CAPSULE_HEADER_FLAGS_PERSIST_ACROSS_RESET
* Consumed by the uefi plugin when other devices register fake devices that
* need to be handled as a capsule update.
*/
#define FU_DEVICE_METADATA_UEFI_CAPSULE_FLAGS "UefiCapsuleFlags"