mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-07-22 00:38:46 +00:00

The struct sbat isn't doing anything and only has two fields so let's pass pass those two to the functions directly instead of storing it in a struct. Signed-off-by: Peter Jones <pjones@redhat.com>
22 lines
505 B
C
22 lines
505 B
C
// SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
/*
|
|
* sbat.c - parse SBAT data from the .rsrc section data
|
|
*/
|
|
|
|
#ifndef SBAT_H_
|
|
#define SBAT_H_
|
|
|
|
struct sbat_entry {
|
|
const CHAR8 *component_name;
|
|
const CHAR8 *component_generation;
|
|
const CHAR8 *vendor_name;
|
|
const CHAR8 *vendor_package_name;
|
|
const CHAR8 *vendor_version;
|
|
const CHAR8 *vendor_url;
|
|
};
|
|
|
|
EFI_STATUS parse_sbat(char *sbat_base, size_t sbat_size, size_t *sbats, struct sbat_entry ***sbat);
|
|
|
|
#endif /* !SBAT_H_ */
|
|
// vim:fenc=utf-8:tw=75:noet
|