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
23
44typedef
46(EFIAPI *EFI_REST_SEND_RECEIVE)(
48 IN EFI_HTTP_MESSAGE *RequestMessage,
49 OUT EFI_HTTP_MESSAGE *ResponseMessage
50 );
51
67typedef
69(EFIAPI *EFI_REST_GET_TIME)(
71 OUT EFI_TIME *Time
72 );
73
82 EFI_REST_SEND_RECEIVE SendReceive;
83 EFI_REST_GET_TIME GetServiceTime;
84};
85
86extern EFI_GUID gEfiRestProtocolGuid;
87
88#endif
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_REST_GET_TIME)(IN EFI_REST_PROTOCOL *This, OUT EFI_TIME *Time)
Definition: Rest.h:69
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
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213