From 422dfaab31092819651d03fce5a7087b0d588b36 Mon Sep 17 00:00:00 2001 From: Nickle Wang Date: Thu, 1 Feb 2024 12:34:30 +0800 Subject: RedfishPkg/RedfishLib: include RedfishServiceData.h Redfish common structures are moved to RedfishServiceData.h. Remove them from RedfishLib.h Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez Reviewed-by: Abner Chang Reviewed-by: Igor Kulchytskyy --- RedfishPkg/Include/Library/RedfishLib.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/RedfishPkg/Include/Library/RedfishLib.h b/RedfishPkg/Include/Library/RedfishLib.h index 8309a67c76..fb30ff68f6 100644 --- a/RedfishPkg/Include/Library/RedfishLib.h +++ b/RedfishPkg/Include/Library/RedfishLib.h @@ -70,6 +70,7 @@ #ifndef REDFISH_LIB_H_ #define REDFISH_LIB_H_ +#include #include #include @@ -78,22 +79,6 @@ #define ODATA_TYPE_NAME_MAX_SIZE 128 #define ODATA_TYPE_MAX_SIZE 128 -/// -/// Library class public defines -/// -typedef VOID *REDFISH_SERVICE; -typedef VOID *REDFISH_PAYLOAD; - -/// -/// Library class public structures/unions -/// -typedef struct { - EFI_HTTP_STATUS_CODE *StatusCode; - UINTN HeaderCount; - EFI_HTTP_HEADER *Headers; - REDFISH_PAYLOAD Payload; -} REDFISH_RESPONSE; - /// /// Odata type-name mapping structure. /// -- cgit v1.2.3