fwupd/libfwupdplugin/fu-intel-thunderbolt-firmware.h
Richard Hughes 16b463334e Export the generic Intel Thunderbolt firmware format
This is being used for other products, e.g. USB4 docks.

If non-Intel firmware is being used (e.g. ASMedia) then the explicit
calls to `fu_intel_thunderbolt_nvm_new()` can be changed to something
like `fu_firmware_new_from_gtypes()` with all the formats listed.
2022-08-30 14:20:14 +01:00

27 lines
687 B
C

/*
* Copyright (C) 2021 Dell Inc.
* Copyright (C) 2020 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2020 Mario Limonciello <mario.limonciello@dell.com>
* Copyright (C) 2017 Intel Corporation.
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include "fu-intel-thunderbolt-nvm.h"
#define FU_TYPE_INTEL_THUNDERBOLT_FIRMWARE (fu_intel_thunderbolt_firmware_get_type())
G_DECLARE_DERIVABLE_TYPE(FuIntelThunderboltFirmware,
fu_intel_thunderbolt_firmware,
FU,
INTEL_THUNDERBOLT_FIRMWARE,
FuIntelThunderboltNvm)
struct _FuIntelThunderboltFirmwareClass {
FuIntelThunderboltNvmClass parent_class;
};
FuFirmware *
fu_intel_thunderbolt_firmware_new(void);