]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpBootDxe/HttpBootClient.h
NetworkPkg/HttpBootDxe: Add Support for HTTP Boot Basic Authentication
[mirror_edk2.git] / NetworkPkg / HttpBootDxe / HttpBootClient.h
index 406529dfd927e7e233d5c422a1e954484bc02f84..2fba713679504db2e1ecfa44bbe2aff4edaf2f02 100644 (file)
@@ -10,8 +10,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 #ifndef __EFI_HTTP_BOOT_HTTP_H__\r
 #define __EFI_HTTP_BOOT_HTTP_H__\r
 \r
-#define HTTP_BOOT_BLOCK_SIZE           1500\r
-#define HTTP_USER_AGENT_EFI_HTTP_BOOT  "UefiHttpBoot/1.0"\r
+#define HTTP_BOOT_BLOCK_SIZE                   1500\r
+#define HTTP_USER_AGENT_EFI_HTTP_BOOT          "UefiHttpBoot/1.0"\r
+#define HTTP_BOOT_AUTHENTICATION_INFO_MAX_LEN  255\r
 \r
 //\r
 // Record the data length and start address of a data block.\r
@@ -106,6 +107,7 @@ HttpBootCreateHttpIo (
   @retval EFI_BUFFER_TOO_SMALL     The BufferSize is too small to read the current directory entry.\r
                                    BufferSize has been updated with the size needed to complete\r
                                    the request.\r
+  @retval EFI_ACCESS_DENIED        The server needs to authenticate the client.\r
   @retval Others                   Unexpected error happened.\r
 \r
 **/\r