]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Include/Protocol/PxeDhcp4CallBack.h
Remove Static declaration for the related driver binding functions.
[mirror_edk2.git] / EdkModulePkg / Include / Protocol / PxeDhcp4CallBack.h
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13 PxeDhcp4Callback.h\r
14\r
15Abstract:\r
16 EFI PXE DHCP4 Callback protocol definition.\r
17\r
18--*/\r
19\r
20#ifndef _PXE_DHCP4CALLBACK_H\r
21#define _PXE_DHCP4CALLBACK_H\r
22\r
23#include <Protocol/PxeDhcp4.h>\r
24//\r
25// GUID definition\r
26//\r
27\r
28#define EFI_PXE_DHCP4_CALLBACK_PROTOCOL_GUID \\r
29{ 0xc1544c01, 0x92a4, 0x4198, {0x8a, 0x84, 0x77, 0x85, 0x83, 0xc2, 0x36, 0x21 } }\r
30\r
31\r
32//\r
33// Revision number\r
34//\r
35\r
36#define EFI_PXE_DHCP4_CALLBACK_INTERFACE_REVISION 0x00010000\r
37\r
38//\r
39// Interface definition\r
40//\r
41\r
42typedef struct _EFI_PXE_DHCP4_CALLBACK_PROTOCOL EFI_PXE_DHCP4_CALLBACK_PROTOCOL;\r
43\r
44typedef enum {\r
45 EFI_PXE_DHCP4_FUNCTION_FIRST,\r
46 EFI_PXE_DHCP4_FUNCTION_INIT,\r
47 EFI_PXE_DHCP4_FUNCTION_SELECT,\r
48 EFI_PXE_DHCP4_FUNCTION_RENEW,\r
49 EFI_PXE_DHCP4_FUNCTION_REBIND,\r
50 EFI_PXE_DHCP4_FUNCTION_LAST\r
51} EFI_PXE_DHCP4_FUNCTION;\r
52\r
53typedef enum {\r
54 EFI_PXE_DHCP4_CALLBACK_STATUS_FIRST,\r
55 EFI_PXE_DHCP4_CALLBACK_STATUS_ABORT,\r
56 EFI_PXE_DHCP4_CALLBACK_STATUS_IGNORE_ABORT,\r
57 EFI_PXE_DHCP4_CALLBACK_STATUS_KEEP_ABORT,\r
58 EFI_PXE_DHCP4_CALLBACK_STATUS_CONTINUE,\r
59 EFI_PXE_DHCP4_CALLBACK_STATUS_IGNORE_CONTINUE,\r
60 EFI_PXE_DHCP4_CALLBACK_STATUS_KEEP_CONTINUE,\r
61 EFI_PXE_DHCP4_CALLBACK_STATUS_LAST\r
62} EFI_PXE_DHCP4_CALLBACK_STATUS;\r
63\r
64typedef\r
65EFI_PXE_DHCP4_CALLBACK_STATUS\r
66(EFIAPI *EFI_PXE_DHCP4_CALLBACK) (\r
67 IN EFI_PXE_DHCP4_PROTOCOL *This,\r
68 IN EFI_PXE_DHCP4_FUNCTION Function,\r
69 IN UINT32 PacketLen,\r
70 IN DHCP4_PACKET *Packet OPTIONAL\r
71 );\r
72\r
73struct _EFI_PXE_DHCP4_CALLBACK_PROTOCOL {\r
74 UINT64 Revision;\r
75 EFI_PXE_DHCP4_CALLBACK Callback;\r
76};\r
77\r
78//\r
79// GUID declaration\r
80//\r
81\r
82extern EFI_GUID gEfiPxeDhcp4CallbackProtocolGuid;\r
83\r
84#endif /* _PXE_DHCP4CALLBACK_H */\r
85/* EOF - PxeDhcp4Callback.h */\r