]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpBootDxe/HttpBootSupport.h
BaseTools/PatchCheck: Support Contribution Agreement 1.1
[mirror_edk2.git] / NetworkPkg / HttpBootDxe / HttpBootSupport.h
index f2b1846c056c250c3b56ac27479ebdc12c97d55c..c10b2cf5221b9c9db3d2a6ac7071c5f608cceca9 100644 (file)
@@ -445,4 +445,17 @@ HttpBootRegisterRamDisk (
   IN  VOID                         *Buffer,\r
   IN  HTTP_BOOT_IMAGE_TYPE         ImageType\r
   );\r
+\r
+/**\r
+  Indicate if the HTTP status code indicates a redirection.\r
+  \r
+  @param[in]  StatusCode      HTTP status code from server.\r
+\r
+  @return                     TRUE if it's redirection.\r
+\r
+**/\r
+BOOLEAN\r
+HttpBootIsHttpRedirectStatusCode (\r
+  IN   EFI_HTTP_STATUS_CODE        StatusCode\r
+ );\r
 #endif\r