]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.h
ShellPkg: Update MV. now supports across file system moves.
[mirror_edk2.git] / ShellPkg / Library / UefiShellLevel2CommandsLib / UefiShellLevel2CommandsLib.h
index d6f23187be93b1734737b7c9c90e0d2f6d9f88b1..f1549b91627947bd6a1eec9b79d93145d514d243 100644 (file)
@@ -9,7 +9,7 @@
   * functions are non-interactive only\r
 \r
 \r
-  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2014, 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
@@ -330,5 +330,44 @@ ShellCommandRunVol (
   IN EFI_SYSTEM_TABLE  *SystemTable\r
   );\r
 \r
+/**\r
+  Function to Copy one file to another location\r
+\r
+  If the destination exists the user will be prompted and the result put into *resp\r
+\r
+  @param[in] Source     pointer to source file name\r
+  @param[in] Dest       pointer to destination file name\r
+  @param[out] Resp      pointer to response from question.  Pass back on looped calling\r
+  @param[in] SilentMode whether to run in quiet mode or not\r
+\r
+  @retval SHELL_SUCCESS   The source file was copied to the destination\r
+**/\r
+SHELL_STATUS\r
+EFIAPI\r
+CopySingleFile(\r
+  IN CONST CHAR16 *Source,\r
+  IN CONST CHAR16 *Dest,\r
+  OUT VOID        **Resp,\r
+  IN BOOLEAN      SilentMode\r
+  );\r
+\r
+/**\r
+  Delete a node and all nodes under it (including sub directories).\r
+\r
+  @param[in] Node   The node to start deleting with.\r
+  @param[in] Quiet  TRUE to print no messages.\r
+\r
+  @retval SHELL_SUCCESS       The operation was successful.\r
+  @retval SHELL_ACCESS_DENIED A file was read only.\r
+  @retval SHELL_ABORTED       The abort message was received.\r
+  @retval SHELL_DEVICE_ERROR  A device error occured reading this Node.\r
+**/\r
+SHELL_STATUS\r
+EFIAPI\r
+CascadeDelete(\r
+  IN EFI_SHELL_FILE_INFO  *Node,\r
+  IN CONST BOOLEAN        Quiet\r
+  );\r
+\r
 #endif\r
 \r