--- /dev/null
+/*++\r
+\r
+Copyright (c) 2006, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+Module Name:\r
+ PxeDhcp4Callback.h\r
+\r
+Abstract:\r
+ EFI PXE DHCP4 Callback protocol definition.\r
+\r
+--*/\r
+\r
+#ifndef _PXE_DHCP4CALLBACK_H\r
+#define _PXE_DHCP4CALLBACK_H\r
+\r
+#include <Protocol/PxeDhcp4.h>\r
+//\r
+// GUID definition\r
+//\r
+\r
+#define EFI_PXE_DHCP4_CALLBACK_PROTOCOL_GUID \\r
+{ 0xc1544c01, 0x92a4, 0x4198, {0x8a, 0x84, 0x77, 0x85, 0x83, 0xc2, 0x36, 0x21 } }\r
+\r
+\r
+//\r
+// Revision number\r
+//\r
+\r
+#define EFI_PXE_DHCP4_CALLBACK_INTERFACE_REVISION 0x00010000\r
+\r
+//\r
+// Interface definition\r
+//\r
+\r
+typedef struct _EFI_PXE_DHCP4_CALLBACK_PROTOCOL EFI_PXE_DHCP4_CALLBACK_PROTOCOL;\r
+\r
+typedef enum {\r
+ EFI_PXE_DHCP4_FUNCTION_FIRST,\r
+ EFI_PXE_DHCP4_FUNCTION_INIT,\r
+ EFI_PXE_DHCP4_FUNCTION_SELECT,\r
+ EFI_PXE_DHCP4_FUNCTION_RENEW,\r
+ EFI_PXE_DHCP4_FUNCTION_REBIND,\r
+ EFI_PXE_DHCP4_FUNCTION_LAST\r
+} EFI_PXE_DHCP4_FUNCTION;\r
+\r
+typedef enum {\r
+ EFI_PXE_DHCP4_CALLBACK_STATUS_FIRST,\r
+ EFI_PXE_DHCP4_CALLBACK_STATUS_ABORT,\r
+ EFI_PXE_DHCP4_CALLBACK_STATUS_IGNORE_ABORT,\r
+ EFI_PXE_DHCP4_CALLBACK_STATUS_KEEP_ABORT,\r
+ EFI_PXE_DHCP4_CALLBACK_STATUS_CONTINUE,\r
+ EFI_PXE_DHCP4_CALLBACK_STATUS_IGNORE_CONTINUE,\r
+ EFI_PXE_DHCP4_CALLBACK_STATUS_KEEP_CONTINUE,\r
+ EFI_PXE_DHCP4_CALLBACK_STATUS_LAST\r
+} EFI_PXE_DHCP4_CALLBACK_STATUS;\r
+\r
+typedef\r
+EFI_PXE_DHCP4_CALLBACK_STATUS\r
+(EFIAPI *EFI_PXE_DHCP4_CALLBACK) (\r
+ IN EFI_PXE_DHCP4_PROTOCOL *This,\r
+ IN EFI_PXE_DHCP4_FUNCTION Function,\r
+ IN UINT32 PacketLen,\r
+ IN DHCP4_PACKET *Packet OPTIONAL\r
+ );\r
+\r
+struct _EFI_PXE_DHCP4_CALLBACK_PROTOCOL {\r
+ UINT64 Revision;\r
+ EFI_PXE_DHCP4_CALLBACK Callback;\r
+};\r
+\r
+//\r
+// GUID declaration\r
+//\r
+\r
+extern EFI_GUID gEfiPxeDhcp4CallbackProtocolGuid;\r
+\r
+#endif /* _PXE_DHCP4CALLBACK_H */\r
+/* EOF - PxeDhcp4Callback.h */\r