blob: b4dad1257a7c92f304095937e38f35d434429110 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef SMMSTORETOOL__GUIDS_H__
#define SMMSTORETOOL__GUIDS_H__
#include <stdbool.h>
#include "udk2017.h"
#define GUID_LEN 35
struct guid_alias_t {
const char *alias;
EFI_GUID guid;
};
extern const struct guid_alias_t known_guids[];
extern const int known_guid_count;
char *format_guid(const EFI_GUID *guid, bool use_alias);
bool parse_guid(const char str[], EFI_GUID *guid);
#endif // SMMSTORETOOL__GUIDS_H__
|