aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/cmds.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-12-12 21:14:42 +0300
committerJoursoir <chat@joursoir.net>2021-12-12 21:14:42 +0300
commit32c16800be03314346c0c769e5b5bce3a9c305ac (patch)
tree1c6b7e37c572a1c1fcda651da4630143a9af398a /Library/UefiShellUfmCommandLib/cmds.h
parent8c3e73dad73befa4564c51eeb86685dd0f93a618 (diff)
downloadufm-32c16800be03314346c0c769e5b5bce3a9c305ac.tar.gz
ufm-32c16800be03314346c0c769e5b5bce3a9c305ac.tar.bz2
ufm-32c16800be03314346c0c769e5b5bce3a9c305ac.zip
cmds: make deletion of file/directory
Diffstat (limited to 'Library/UefiShellUfmCommandLib/cmds.h')
-rw-r--r--Library/UefiShellUfmCommandLib/cmds.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/UefiShellUfmCommandLib/cmds.h b/Library/UefiShellUfmCommandLib/cmds.h
index d819d47..f58cdea 100644
--- a/Library/UefiShellUfmCommandLib/cmds.h
+++ b/Library/UefiShellUfmCommandLib/cmds.h
@@ -5,6 +5,18 @@
#include <Library/ShellLib.h>
/*
+ * Deletes a node including subdirectories
+ *
+ * node: the node to start deleting with
+ *
+ * return: EFI_SUCCESS The operation was successful
+ EFI_ACCESS_DENIED A file was read only
+ EFI_ABORTED The abort was received
+ EFI_DEVICE_ERROR A device error occurred reading this node
+*/
+EFI_STATUS delete_file(EFI_SHELL_FILE_INFO *node);
+
+/*
* Creates one or more directories.
*
* dir_name: the name of a directory or directories to create