fwupd/libfwupdplugin/fu-efi-firmware-common.h
Richard Hughes 488f2e1f37 Export the EFI and IFD parsers
We'll need to use this from another plugin soon.
2021-07-12 10:33:38 +01:00

17 lines
375 B
C

/*
* Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <fwupdplugin.h>
gboolean fu_efi_firmware_parse_sections (FuFirmware *firmware,
GBytes *fw,
FwupdInstallFlags flags,
GError **error);
GBytes *fu_efi_firmware_decompress_lzma (GBytes *blob,
GError **error);