From afd916c38fda0d70b83015ed867c30bc1578fc14 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 12 Dec 2021 11:05:07 +0300 Subject: add creation of one or more directories --- Library/UefiShellUfmCommandLib/cmds.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Library/UefiShellUfmCommandLib/cmds.h (limited to 'Library/UefiShellUfmCommandLib/cmds.h') 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 +#include + +/* + * 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 */ -- cgit v1.2.3-18-g5258