treewide: Move device_tree to commonlib
[coreboot2.git] / util / smmstoretool / guids.h
blobb4dad1257a7c92f304095937e38f35d434429110
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef SMMSTORETOOL__GUIDS_H__
4 #define SMMSTORETOOL__GUIDS_H__
6 #include <stdbool.h>
8 #include "udk2017.h"
10 #define GUID_LEN 35
12 struct guid_alias_t {
13 const char *alias;
14 EFI_GUID guid;
17 extern const struct guid_alias_t known_guids[];
19 extern const int known_guid_count;
21 char *format_guid(const EFI_GUID *guid, bool use_alias);
23 bool parse_guid(const char str[], EFI_GUID *guid);
25 #endif // SMMSTORETOOL__GUIDS_H__