aboutsummaryrefslogtreecommitdiffstats
path: root/Library/UefiShellUfmCommandLib/cmds.h
diff options
context:
space:
mode:
Diffstat (limited to 'Library/UefiShellUfmCommandLib/cmds.h')
-rw-r--r--Library/UefiShellUfmCommandLib/cmds.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/UefiShellUfmCommandLib/cmds.h b/Library/UefiShellUfmCommandLib/cmds.h
new file mode 100644
index 0000000..d819d47
--- /dev/null
+++ b/Library/UefiShellUfmCommandLib/cmds.h
@@ -0,0 +1,20 @@
+#ifndef UFM_CMDS_H
+#define UFM_CMDS_H
+
+#include <Uefi.h>
+#include <Library/ShellLib.h>
+
+/*
+ * Creates one or more directories.
+ *
+ * dir_name: the name of a directory or directories to create
+ *
+ * return: EFI_SUCCESS Directory(-ies) was created
+ EFI_INVALID_PARAMETER Parameter has an invalid value
+ EFI_ACCESS_DENIED Error while creating directory(-ies)
+ EFI_OUT_OF_RESOURCES Not enough resources were available to open the
+ file
+*/
+EFI_STATUS make_directory(CONST CHAR16 *dir_name);
+
+#endif /* UFM_CMDS_H */