diff options
author | Joursoir <chat@joursoir.net> | 2021-12-12 11:05:07 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-12-12 11:05:07 +0300 |
commit | afd916c38fda0d70b83015ed867c30bc1578fc14 (patch) | |
tree | 31813565cacd89e77da1ecf4914b0a9f5671e884 /Library/UefiShellUfmCommandLib/cmds.h | |
parent | d7eaae0e2c816c0727ba0a1a5e497a934e0289b6 (diff) | |
download | ufm-afd916c38fda0d70b83015ed867c30bc1578fc14.tar.gz ufm-afd916c38fda0d70b83015ed867c30bc1578fc14.tar.bz2 ufm-afd916c38fda0d70b83015ed867c30bc1578fc14.zip |
add creation of one or more directories
Diffstat (limited to 'Library/UefiShellUfmCommandLib/cmds.h')
-rw-r--r-- | Library/UefiShellUfmCommandLib/cmds.h | 20 |
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 */ |