mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 16:44:10 +02:00
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:
parent
9da786c16f
commit
422dfaab31
@ -70,6 +70,7 @@
|
|||||||
#ifndef REDFISH_LIB_H_
|
#ifndef REDFISH_LIB_H_
|
||||||
#define REDFISH_LIB_H_
|
#define REDFISH_LIB_H_
|
||||||
|
|
||||||
|
#include <RedfishServiceData.h>
|
||||||
#include <Library/JsonLib.h>
|
#include <Library/JsonLib.h>
|
||||||
|
|
||||||
#include <Protocol/Http.h>
|
#include <Protocol/Http.h>
|
||||||
@ -78,22 +79,6 @@
|
|||||||
#define ODATA_TYPE_NAME_MAX_SIZE 128
|
#define ODATA_TYPE_NAME_MAX_SIZE 128
|
||||||
#define ODATA_TYPE_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.
|
/// Odata type-name mapping structure.
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user