Add RedfishHttpCacheLib header file for feature driver to use RedfishHttpCacheLib.
Signed-off-by: Nickle Wang <nick...@nvidia.com> Cc: Abner Chang <abner.ch...@amd.com> Cc: Igor Kulchytskyy <ig...@ami.com> Cc: Nick Ramirez <nrami...@nvidia.com> --- RedfishClientPkg/Include/RedfishCollectionCommon.h | 4 +++- RedfishClientPkg/Include/RedfishResourceCommon.h | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/RedfishClientPkg/Include/RedfishCollectionCommon.h b/RedfishClientPkg/Include/RedfishCollectionCommon.h index 59cc3607..b1e313da 100644 --- a/RedfishClientPkg/Include/RedfishCollectionCommon.h +++ b/RedfishClientPkg/Include/RedfishCollectionCommon.h @@ -2,6 +2,7 @@ Redfish feature driver collection common header file. (C) Copyright 2020-2022 Hewlett Packard Enterprise Development LP<BR> + Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent @@ -26,6 +27,7 @@ #include <Library/UefiBootServicesTableLib.h> #include <Library/EdkIIRedfishResourceConfigLib.h> #include <Library/RedfishVersionLib.h> +#include <Library/RedfishHttpCacheLib.h> // // Protocols @@ -46,7 +48,7 @@ typedef struct _REDFISH_COLLECTION_PRIVATE { EFI_STRING CollectionUri; CHAR8 *CollectionJson; REDFISH_PAYLOAD CollectionPayload; - REDFISH_RESPONSE RedResponse; + REDFISH_RESPONSE Response; EFI_STRING RedfishVersion; } REDFISH_COLLECTION_PRIVATE; diff --git a/RedfishClientPkg/Include/RedfishResourceCommon.h b/RedfishClientPkg/Include/RedfishResourceCommon.h index b006755d..d354d3b0 100644 --- a/RedfishClientPkg/Include/RedfishResourceCommon.h +++ b/RedfishClientPkg/Include/RedfishResourceCommon.h @@ -2,7 +2,7 @@ Redfish feature driver common header file. (C) Copyright 2020-2022 Hewlett Packard Enterprise Development LP<BR> - Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent @@ -32,6 +32,7 @@ #include <Library/RedfishResourceIdentifyLib.h> #include <Library/EdkIIRedfishResourceConfigLib.h> #include <Library/RedfishAddendumLib.h> +#include <Library/RedfishHttpCacheLib.h> // // Protocols -- 2.34.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113072): https://edk2.groups.io/g/devel/message/113072 Mute This Topic: https://groups.io/mt/103500373/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-