VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/RedfishPkg/Include/RedfishServiceData.h@ 108793

Last change on this file since 108793 was 105670, checked in by vboxsync, 9 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.0 KB
Line 
1/** @file
2 This header file defines Redfish service and Redfish data structures that
3 are used to communicate with Redfish Ex Protocol.
4
5 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
6 (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
7 Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
8
9 SPDX-License-Identifier: BSD-2-Clause-Patent
10
11**/
12
13#ifndef REDFISH_SERVICE_DATA_H_
14#define REDFISH_SERVICE_DATA_H_
15
16#include <Uefi.h>
17#include <Protocol/Http.h>
18
19typedef VOID *REDFISH_SERVICE;
20typedef VOID *REDFISH_PAYLOAD;
21
22///
23/// REDFISH_REQUEST definition.
24///
25typedef struct {
26 UINTN HeaderCount;
27 EFI_HTTP_HEADER *Headers;
28 CHAR8 *Content;
29 CHAR8 *ContentType;
30 UINTN ContentLength;
31} REDFISH_REQUEST;
32
33///
34/// REDFISH_REQUEST definition.
35///
36typedef struct {
37 EFI_HTTP_STATUS_CODE *StatusCode;
38 UINTN HeaderCount;
39 EFI_HTTP_HEADER *Headers;
40 REDFISH_PAYLOAD Payload;
41} REDFISH_RESPONSE;
42
43#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