TianoCore EDK2
master
Loading...
Searching...
No Matches
Rest.h
Go to the documentation of this file.
1
12
#ifndef __EFI_REST_PROTOCOL_H__
13
#define __EFI_REST_PROTOCOL_H__
14
15
#include <
Protocol/Http.h
>
16
17
#define EFI_REST_PROTOCOL_GUID \
18
{ \
19
0x0db48a36, 0x4e54, 0xea9c, {0x9b, 0x09, 0x1e, 0xa5, 0xbe, 0x3a, 0x66, 0x0b } \
20
}
21
22
typedef
struct
_EFI_REST_PROTOCOL
EFI_REST_PROTOCOL
;
23
44
typedef
45
EFI_STATUS
46
(EFIAPI *
EFI_REST_SEND_RECEIVE
)(
47
IN
EFI_REST_PROTOCOL
*This,
48
IN
EFI_HTTP_MESSAGE
*RequestMessage,
49
OUT
EFI_HTTP_MESSAGE
*ResponseMessage
50
);
51
67
typedef
68
EFI_STATUS
69
(EFIAPI *
EFI_REST_GET_TIME
)(
70
IN
EFI_REST_PROTOCOL
*This,
71
OUT
EFI_TIME
*Time
72
);
73
81
struct
_EFI_REST_PROTOCOL
{
82
EFI_REST_SEND_RECEIVE
SendReceive;
83
EFI_REST_GET_TIME
GetServiceTime;
84
};
85
86
extern
EFI_GUID
gEfiRestProtocolGuid;
87
88
#endif
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
Http.h
EFI_REST_GET_TIME
EFI_STATUS(EFIAPI * EFI_REST_GET_TIME)(IN EFI_REST_PROTOCOL *This, OUT EFI_TIME *Time)
Definition:
Rest.h:69
EFI_REST_SEND_RECEIVE
EFI_STATUS(EFIAPI * EFI_REST_SEND_RECEIVE)(IN EFI_REST_PROTOCOL *This, IN EFI_HTTP_MESSAGE *RequestMessage, OUT EFI_HTTP_MESSAGE *ResponseMessage)
Definition:
Rest.h:46
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_REST_PROTOCOL
Definition:
Rest.h:81
EFI_HTTP_MESSAGE
Definition:
Http.h:226
EFI_TIME
Definition:
UefiBaseType.h:68
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
Rest.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6