]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpDxe/HttpDns.h
FmpDevicePkg FmpDxe: Return UNSUPPORTED if device has been locked
[mirror_edk2.git] / NetworkPkg / HttpDxe / HttpDns.h
index 0fb418635ca5b6a0f280839e9def5d8653486987..2dc178af00ef951517e235650fae681b0fb6a7e4 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The header file of routines for HttpDxe driver to perform DNS resolution based on UEFI DNS protocols.\r
 \r
-Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
 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
@@ -26,13 +26,33 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   @retval EFI_OUT_OF_RESOURCES    Failed to allocate needed resources.\r
   @retval EFI_DEVICE_ERROR        An unexpected network error occurred.\r
   @retval Others                  Other errors as indicated.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 HttpDns4 (\r
   IN     HTTP_PROTOCOL            *HttpInstance,\r
   IN     CHAR16                   *HostName,\r
-     OUT EFI_IPv4_ADDRESS         *IpAddress                \r
+     OUT EFI_IPv4_ADDRESS         *IpAddress\r
+  );\r
+\r
+/**\r
+  Retrieve the host address using the EFI_DNS6_PROTOCOL.\r
+\r
+  @param[in]  HttpInstance        Pointer to HTTP_PROTOCOL instance.\r
+  @param[in]  HostName            Pointer to buffer containing hostname.\r
+  @param[out] IpAddress           On output, pointer to buffer containing IPv6 address.\r
+\r
+  @retval EFI_SUCCESS             Operation succeeded.\r
+  @retval EFI_OUT_OF_RESOURCES    Failed to allocate needed resources.\r
+  @retval EFI_DEVICE_ERROR        An unexpected network error occurred.\r
+  @retval Others                  Other errors as indicated.\r
+\r
+**/\r
+EFI_STATUS\r
+HttpDns6 (\r
+  IN     HTTP_PROTOCOL            *HttpInstance,\r
+  IN     CHAR16                   *HostName,\r
+     OUT EFI_IPv6_ADDRESS         *IpAddress\r
   );\r
 \r
-#endif
\ No newline at end of file
+#endif\r