efi-boot-shim/include/sbat.h
Javier Martinez Canillas d1eb757feb sbat: remove unused buffer parameter in parse_sbat() function
It's a left over from an early implementation that was never cleaned.

Reported-by: Christopher Co <christopher.co@microsoft.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2021-02-16 16:42:27 +01:00

27 lines
550 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;
};
struct sbat {
unsigned int size;
struct sbat_entry **entries;
};
EFI_STATUS parse_sbat(char *sbat_base, size_t sbat_size, struct sbat *sbat);
#endif /* !SBAT_H_ */
// vim:fenc=utf-8:tw=75:noet