RedfishPkg/RedfishLib: include RedfishServiceData.h

Redfish common structures are moved to RedfishServiceData.h. Remove
them from RedfishLib.h

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Cc: Nick Ramirez <nramirez@nvidia.com>
Reviewed-by: Abner Chang <abner.chang@amd.com>
Reviewed-by: Igor Kulchytskyy <igork@ami.com>
This commit is contained in:
Nickle Wang 2024-02-01 12:34:30 +08:00 committed by mergify[bot]
parent 9da786c16f
commit 422dfaab31

View File

@ -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.
///