Last change
on this file since 102466 was 99404, checked in by vboxsync, 23 months ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
1.4 KB
|
Line | |
---|
1 | /** @file
|
---|
2 | The internal definitions of EFI REST Resource JSON to C structure convertor
|
---|
3 | Protocol.
|
---|
4 |
|
---|
5 | (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
|
---|
6 |
|
---|
7 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
8 |
|
---|
9 | **/
|
---|
10 |
|
---|
11 | #ifndef EFI_REST_JSON_STRUCTURE_INTERNAL_H_
|
---|
12 | #define EFI_REST_JSON_STRUCTURE_INTERNAL_H_
|
---|
13 |
|
---|
14 | #include <Library/BaseLib.h>
|
---|
15 | #include <Library/UefiLib.h>
|
---|
16 | #include <Library/UefiBootServicesTableLib.h>
|
---|
17 | #include <Library/UefiDriverEntryPoint.h>
|
---|
18 | #include <Library/BaseMemoryLib.h>
|
---|
19 | #include <Library/MemoryAllocationLib.h>
|
---|
20 |
|
---|
21 | ///
|
---|
22 | /// Internal structure to maintain the information of JSON to
|
---|
23 | /// C structure convertor.
|
---|
24 | ///
|
---|
25 | typedef struct _REST_JSON_STRUCTURE_INSTANCE {
|
---|
26 | LIST_ENTRY NextRestJsonStructureInstance; ///< Next convertor instance
|
---|
27 | UINTN NumberOfNameSpaceToConvert; ///< Number of resource type this convertor supports.
|
---|
28 | EFI_REST_JSON_RESOURCE_TYPE_IDENTIFIER *SupportedRsrcIndentifier; ///< The resource type linklist
|
---|
29 | EFI_REST_JSON_STRUCTURE_TO_STRUCTURE JsonToStructure; ///< JSON to C structure function
|
---|
30 | EFI_REST_JSON_STRUCTURE_TO_JSON StructureToJson; ///< C structure to JSON function
|
---|
31 | EFI_REST_JSON_STRUCTURE_DESTORY_STRUCTURE DestroyStructure; ///< Destory C struture function.
|
---|
32 | } REST_JSON_STRUCTURE_INSTANCE;
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.