diff options
author | Nickle Wang <nicklew@nvidia.com> | 2024-02-01 12:34:30 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-29 03:25:18 +0000 |
commit | 422dfaab31092819651d03fce5a7087b0d588b36 (patch) | |
tree | 1bac6a037421fd3559b9dc28aa4a5d6a637f5246 | |
parent | 9da786c16fb9542c68c486060bb56ee74bd547f0 (diff) | |
download | edk2-422dfaab31092819651d03fce5a7087b0d588b36.tar.gz |
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>
-rw-r--r-- | RedfishPkg/Include/Library/RedfishLib.h | 17 |
1 files changed, 1 insertions, 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>
@@ -79,22 +80,6 @@ #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.
///
typedef struct {
|