13#ifndef EFI_REST_JSON_STRUCTURE_PROTOCOL_H_
14#define EFI_REST_JSON_STRUCTURE_PROTOCOL_H_
19#define EFI_REST_JSON_STRUCTURE_PROTOCOL_GUID \
21 0xa9a048f6, 0x48a0, 0x4714, {0xb7, 0xda, 0xa9, 0xad,0x87, 0xd4, 0xda, 0xc9 } \
25typedef CHAR8 *EFI_REST_JSON_RESOURCE_TYPE_DATATYPE;
68 VOID *JsonStructurePointer;
88 IN CHAR8 *ResourceJsonText,
108 OUT CHAR8 **ResourceJsonText
struct _EFI_REST_JSON_STRUCTURE_SUPPORTED EFI_REST_JSON_STRUCTURE_SUPPORTED
struct _EFI_REST_JSON_STRUCTURE_HEADER EFI_REST_JSON_STRUCTURE_HEADER
struct _EFI_REST_JSON_RESOURCE_TYPE_NAMESPACE EFI_REST_JSON_RESOURCE_TYPE_NAMESPACE
EFI_STATUS(EFIAPI * EFI_REST_JSON_STRUCTURE_DESTORY_STRUCTURE)(IN EFI_REST_JSON_STRUCTURE_PROTOCOL *This, IN EFI_REST_JSON_STRUCTURE_HEADER *JsonStructureHeader)
EFI_STATUS(EFIAPI * EFI_REST_JSON_STRUCTURE_REGISTER)(IN EFI_REST_JSON_STRUCTURE_PROTOCOL *This, IN EFI_REST_JSON_STRUCTURE_SUPPORTED *JsonStructureSupported, IN EFI_REST_JSON_STRUCTURE_TO_STRUCTURE ToStructure, IN EFI_REST_JSON_STRUCTURE_TO_JSON ToJson, IN EFI_REST_JSON_STRUCTURE_DESTORY_STRUCTURE DestroyStructure)
struct _EFI_REST_JSON_RESOURCE_TYPE_IDENTIFIER EFI_REST_JSON_RESOURCE_TYPE_IDENTIFIER
EFI_STATUS(EFIAPI * EFI_REST_JSON_STRUCTURE_TO_STRUCTURE)(IN EFI_REST_JSON_STRUCTURE_PROTOCOL *This, IN EFI_REST_JSON_RESOURCE_TYPE_IDENTIFIER *JsonRsrcIdentifier OPTIONAL, IN CHAR8 *ResourceJsonText, OUT EFI_REST_JSON_STRUCTURE_HEADER **JsonStructure)
EFI_STATUS(EFIAPI * EFI_REST_JSON_STRUCTURE_TO_JSON)(IN EFI_REST_JSON_STRUCTURE_PROTOCOL *This, IN EFI_REST_JSON_STRUCTURE_HEADER *JsonStructureHeader, OUT CHAR8 **ResourceJsonText)
EFI_REST_JSON_RESOURCE_TYPE_DATATYPE DataType
EFI_REST_JSON_RESOURCE_TYPE_NAMESPACE NameSpace
Namespace of this resource type.
CHAR8 * ResourceTypeName
Resource type name.
CHAR8 * MinorVersion
Resource minor version.
CHAR8 * ErrataVersion
Resource errata version.
CHAR8 * MajorVersion
Resource major version.
EFI_REST_JSON_RESOURCE_TYPE_IDENTIFIER JsonRsrcIdentifier
EFI_REST_JSON_STRUCTURE_REGISTER Register
Register JSON to C structure convertor.
EFI_REST_JSON_STRUCTURE_DESTORY_STRUCTURE DestoryStructure
Destory C structure.
EFI_REST_JSON_STRUCTURE_TO_JSON ToJson
The function to convert C structure to JSON.
EFI_REST_JSON_STRUCTURE_TO_STRUCTURE ToStructure
The function to convert JSON to C structure.
EFI_REST_JSON_RESOURCE_TYPE_IDENTIFIER RestResourceInterp
JSON resource type this convertor supports.
LIST_ENTRY NextSupportedRsrcInterp
Linklist to next supported conversion.