mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-05 00:14:12 +00:00

Rename the plugin to make it clearer of the scope. Based on a patch from Mario Limonciello <mario.limonciello@dell.com>
25 lines
566 B
C
25 lines
566 B
C
/*
|
|
* Copyright (C) 2018-2019 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <glib.h>
|
|
|
|
typedef enum {
|
|
FU_UEFI_DEVPATH_PARSE_FLAG_NONE = 0,
|
|
FU_UEFI_DEVPATH_PARSE_FLAG_REPAIR = 1 << 0,
|
|
FU_UEFI_DEVPATH_PARSE_FLAG_LAST
|
|
} FuUefiDevpathParseFlags;
|
|
|
|
GPtrArray *fu_uefi_devpath_parse (const guint8 *buf,
|
|
gsize sz,
|
|
FuUefiDevpathParseFlags flags,
|
|
GError **error);
|
|
GBytes *fu_uefi_devpath_find_data (GPtrArray *dps,
|
|
guint8 type,
|
|
guint8 subtype,
|
|
GError **error);
|