TianoCore EDK2
master
HttpBootCallback.h
Go to the documentation of this file.
1
12
#ifndef __EFI_HTTP_BOOT_CALLBACK_H__
13
#define __EFI_HTTP_BOOT_CALLBACK_H__
14
15
#define EFI_HTTP_BOOT_CALLBACK_PROTOCOL_GUID \
16
{ \
17
0xba23b311, 0x343d, 0x11e6, {0x91, 0x85, 0x58, 0x20, 0xb1, 0xd6, 0x52, 0x99} \
18
}
19
20
typedef
struct
_EFI_HTTP_BOOT_CALLBACK_PROTOCOL
EFI_HTTP_BOOT_CALLBACK_PROTOCOL
;
21
25
typedef
enum
{
29
HttpBootDhcp4
,
33
HttpBootDhcp6
,
38
HttpBootHttpRequest
,
43
HttpBootHttpResponse
,
48
HttpBootHttpEntityBody
,
49
HttpBootTypeMax
50
}
EFI_HTTP_BOOT_CALLBACK_DATA_TYPE
;
51
73
typedef
74
EFI_STATUS
75
(EFIAPI *
EFI_HTTP_BOOT_CALLBACK
)(
76
IN
EFI_HTTP_BOOT_CALLBACK_PROTOCOL
*This,
77
IN
EFI_HTTP_BOOT_CALLBACK_DATA_TYPE
DataType,
78
IN
BOOLEAN Received,
79
IN
UINT32 DataLength,
80
IN
VOID *Data
OPTIONAL
81
);
82
88
struct
_EFI_HTTP_BOOT_CALLBACK_PROTOCOL
{
89
EFI_HTTP_BOOT_CALLBACK
Callback;
90
};
91
92
extern
EFI_GUID
gEfiHttpBootCallbackProtocolGuid;
93
94
#endif
OPTIONAL
#define OPTIONAL
Definition:
Base.h:290
IN
#define IN
Definition:
Base.h:279
EFI_HTTP_BOOT_CALLBACK_DATA_TYPE
EFI_HTTP_BOOT_CALLBACK_DATA_TYPE
Definition:
HttpBootCallback.h:25
HttpBootDhcp6
@ HttpBootDhcp6
Definition:
HttpBootCallback.h:33
HttpBootHttpRequest
@ HttpBootHttpRequest
Definition:
HttpBootCallback.h:38
HttpBootHttpResponse
@ HttpBootHttpResponse
Definition:
HttpBootCallback.h:43
HttpBootHttpEntityBody
@ HttpBootHttpEntityBody
Definition:
HttpBootCallback.h:48
HttpBootDhcp4
@ HttpBootDhcp4
Definition:
HttpBootCallback.h:29
EFI_HTTP_BOOT_CALLBACK
EFI_STATUS(EFIAPI * EFI_HTTP_BOOT_CALLBACK)(IN EFI_HTTP_BOOT_CALLBACK_PROTOCOL *This, IN EFI_HTTP_BOOT_CALLBACK_DATA_TYPE DataType, IN BOOLEAN Received, IN UINT32 DataLength, IN VOID *Data OPTIONAL)
Definition:
HttpBootCallback.h:75
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:28
_EFI_HTTP_BOOT_CALLBACK_PROTOCOL
Definition:
HttpBootCallback.h:88
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
HttpBootCallback.h
Generated on Sun Jun 12 2022 23:28:00 for TianoCore EDK2 by
1.9.4