]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - ShellPkg/Library/UefiShellLib/UefiShellLib.h
updating comments mostly. also added some new lib functions.
[mirror_edk2.git] / ShellPkg / Library / UefiShellLib / UefiShellLib.h
... / ...
CommitLineData
1/** @file\r
2 Provides interface to shell functionality for shell commands and applications.\r
3\r
4 Copyright (c) 2006 - 2010, Intel Corporation<BR>\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include <Uefi.h>\r
16\r
17#include <Guid/FileInfo.h>\r
18\r
19#include <Protocol/SimpleFileSystem.h>\r
20#include <Protocol/LoadedImage.h>\r
21#include <Protocol/EfiShellInterface.h>\r
22#include <Protocol/EfiShellEnvironment2.h>\r
23#include <Protocol/EfiShell.h>\r
24#include <Protocol/EfiShellParameters.h>\r
25\r
26#include <Library/UefiBootServicesTableLib.h>\r
27#include <Library/BaseLib.h>\r
28#include <Library/BaseMemoryLib.h>\r
29#include <Library/DebugLib.h>\r
30#include <Library/MemoryAllocationLib.h>\r
31#include <Library/DevicePathLib.h>\r
32#include <Library/PcdLib.h>\r
33#include <Library/FileHandleLib.h>\r
34#include <Library/PrintLib.h>\r
35#include <Library/UefiLib.h>\r
36#include <Library/HiiLib.h>\r
37#include <Library/ShellLib.h>\r
38\r
39typedef struct {\r
40 EFI_SHELL_GET_FILE_INFO GetFileInfo;\r
41 EFI_SHELL_SET_FILE_INFO SetFileInfo;\r
42 EFI_SHELL_READ_FILE ReadFile;\r
43 EFI_SHELL_WRITE_FILE WriteFile;\r
44 EFI_SHELL_CLOSE_FILE CloseFile;\r
45 EFI_SHELL_DELETE_FILE DeleteFile;\r
46 EFI_SHELL_GET_FILE_POSITION GetFilePosition;\r
47 EFI_SHELL_SET_FILE_POSITION SetFilePosition;\r
48 EFI_SHELL_FLUSH_FILE FlushFile;\r
49 EFI_SHELL_GET_FILE_SIZE GetFileSize;\r
50} FILE_HANDLE_FUNCTION_MAP;\r