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