]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | The declaration of UEFI HTTP boot function.\r | |
3 | \r | |
4 | Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials are licensed and made available under \r | |
6 | the terms and conditions of the BSD License that accompanies this distribution. \r | |
7 | The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php. \r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | **/\r | |
14 | #ifndef __EFI_HTTP_BOOT_IMPL_H__\r | |
15 | #define __EFI_HTTP_BOOT_IMPL_H__\r | |
16 | \r | |
17 | /**\r | |
18 | Attempt to complete a DHCPv4 D.O.R.A or DHCPv6 S.R.A.A sequence to retrieve the boot resource information.\r | |
19 | \r | |
20 | @param[in] Private The pointer to the driver's private data.\r | |
21 | \r | |
22 | @retval EFI_SUCCESS Boot info was successfully retrieved.\r | |
23 | @retval EFI_INVALID_PARAMETER Private is NULL.\r | |
24 | @retval EFI_NOT_STARTED The driver is in stopped state.\r | |
25 | @retval EFI_DEVICE_ERROR An unexpected network error occurred.\r | |
26 | @retval Others Other errors as indicated.\r | |
27 | \r | |
28 | **/\r | |
29 | EFI_STATUS\r | |
30 | HttpBootDhcp (\r | |
31 | IN HTTP_BOOT_PRIVATE_DATA *Private\r | |
32 | );\r | |
33 | \r | |
34 | /**\r | |
35 | Disable the use of UEFI HTTP boot function.\r | |
36 | \r | |
37 | @param[in] Private The pointer to the driver's private data.\r | |
38 | \r | |
39 | @retval EFI_SUCCESS HTTP boot was successfully disabled.\r | |
40 | @retval EFI_NOT_STARTED The driver is already in stopped state.\r | |
41 | @retval EFI_INVALID_PARAMETER Private is NULL.\r | |
42 | @retval Others Unexpected error when stop the function.\r | |
43 | \r | |
44 | **/\r | |
45 | EFI_STATUS\r | |
46 | HttpBootStop (\r | |
47 | IN HTTP_BOOT_PRIVATE_DATA *Private\r | |
48 | );\r | |
49 | \r | |
50 | #endif\r |