VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/RedfishPkg/RedfishHttpDxe/RedfishHttpDxe.h

Last change on this file was 105670, checked in by vboxsync, 7 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1/** @file
2 Definitions of RedfishHttpDxe
3
4 Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef EDKII_REDFISH_HTTP_DXE_H_
11#define EDKII_REDFISH_HTTP_DXE_H_
12
13#include <Uefi.h>
14#include <IndustryStandard/Http11.h>
15
16#include <Library/UefiLib.h>
17#include <Library/BaseLib.h>
18#include <Library/BaseMemoryLib.h>
19#include <Library/RedfishContentCodingLib.h>
20#include <Library/DebugLib.h>
21#include <Library/HttpLib.h>
22#include <Library/JsonLib.h>
23#include <Library/UefiBootServicesTableLib.h>
24#include <Library/MemoryAllocationLib.h>
25#include <Library/RedfishDebugLib.h>
26#include <Library/ReportStatusCodeLib.h>
27#include <Library/PrintLib.h>
28
29#include <Protocol/Http.h>
30#include <Protocol/EdkIIRedfishHttpProtocol.h>
31#include <Protocol/EdkIIRedfishCredential.h>
32#include <Protocol/RestEx.h>
33
34#define IS_EMPTY_STRING(a) ((a) == NULL || (a)[0] == '\0')
35#define REDFISH_HTTP_CACHE_LIST_SIZE 0x80
36#define REDFISH_ERROR_MSG_MAX 128
37#define REDFISH_DEBUG_STRING_LENGTH 200
38#define REDFISH_HOST_NAME_MAX 64 // IPv6 maximum length (39) + "https://" (8) + port number (maximum 5)
39#define REDFISH_HTTP_ERROR_REPORT "Redfish HTTP %a failure(0x%x): %s"
40#define REDFISH_HTTP_CACHE_DEBUG DEBUG_MANAGEABILITY
41#define REDFISH_HTTP_CACHE_DEBUG_DUMP DEBUG_MANAGEABILITY
42#define REDFISH_HTTP_CACHE_DEBUG_REQUEST DEBUG_MANAGEABILITY
43
44#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette