[AMD Official Use Only - General]

As I already reviewed offline on Nickle's personal Git repo,
Reviewed-by: Abner Chang <[email protected]>

> -----Original Message-----
> From: Nickle Wang <[email protected]>
> Sent: Tuesday, February 20, 2024 2:42 PM
> To: [email protected]
> Cc: Chang, Abner <[email protected]>; Igor Kulchytskyy
> <[email protected]>; Nick Ramirez <[email protected]>
> Subject: [PATCH 4/6] RedfishPkg/RedfishLib: include RedfishServiceData.h
>
> Caution: This message originated from an External Source. Use proper caution
> when opening attachments, clicking links, or responding.
>
>
> Redfish common structures are moved to RedfishServiceData.h. Remove
> them from RedfishLib.h
>
> Signed-off-by: Nickle Wang <[email protected]>
> Cc: Abner Chang <[email protected]>
> Cc: Igor Kulchytskyy <[email protected]>
> Cc: Nick Ramirez <[email protected]>
> ---
>  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 <RedfishServiceData.h>
>  #include <Library/JsonLib.h>
>
>  #include <Protocol/Http.h>
> @@ -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.
>  ///
> --
> 2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115694): https://edk2.groups.io/g/devel/message/115694
Mute This Topic: https://groups.io/mt/104463407/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to