]> git.proxmox.com Git - mirror_edk2.git/blame - NetworkPkg/IScsiDxe/IScsiDns.h
NetworkPkg: Clean up source files
[mirror_edk2.git] / NetworkPkg / IScsiDxe / IScsiDns.h
CommitLineData
eabc6e59
ZL
1/** @file\r
2 The header file of routines for IScsi driver to perform DNS\r
3 resolution based on UEFI DNS protocols.\r
4\r
f75a7f56 5Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR>\r
eabc6e59
ZL
6This program and the accompanying materials\r
7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _ISCSI_DNS_H_\r
17#define _ISCSI_DNS_H_\r
18\r
19/**\r
20 Retrieve the host address using the EFI_DNS4_PROTOCOL.\r
21\r
22 @param[in] Image The handle of the driver image.\r
23 @param[in] Controller The handle of the controller.\r
24 @param[in, out] NvData The Session config data structure.\r
25\r
26 @retval EFI_SUCCESS Operation succeeded.\r
27 @retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources.\r
28 @retval EFI_DEVICE_ERROR An unexpected network error occurred.\r
29 @retval Others Other errors as indicated.\r
30\r
31**/\r
32EFI_STATUS\r
33IScsiDns4 (\r
34 IN EFI_HANDLE Image,\r
35 IN EFI_HANDLE Controller,\r
36 IN OUT ISCSI_SESSION_CONFIG_NVDATA *NvData\r
37 );\r
38\r
39/**\r
40 Retrieve the host address using the EFI_DNS6_PROTOCOL.\r
41\r
42 @param[in] Image The handle of the driver image.\r
43 @param[in] Controller The handle of the controller.\r
44 @param[in, out] NvData The Session config data structure.\r
45\r
46 @retval EFI_SUCCESS Operation succeeded.\r
47 @retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources.\r
48 @retval EFI_DEVICE_ERROR An unexpected network error occurred.\r
49 @retval Others Other errors as indicated.\r
50\r
51**/\r
52EFI_STATUS\r
53IScsiDns6 (\r
54 IN EFI_HANDLE Image,\r
55 IN EFI_HANDLE Controller,\r
56 IN OUT ISCSI_SESSION_CONFIG_NVDATA *NvData\r
57 );\r
58\r
f75a7f56 59#endif\r