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 |
|
---|
19 | typedef VOID *REDFISH_SERVICE;
|
---|
20 | typedef VOID *REDFISH_PAYLOAD;
|
---|
21 |
|
---|
22 | ///
|
---|
23 | /// REDFISH_REQUEST definition.
|
---|
24 | ///
|
---|
25 | typedef 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 | ///
|
---|
36 | typedef 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.