]>
Commit | Line | Data |
---|---|---|
a405b86d | 1 | /** @file\r |
2 | Provides interface to shell internal functions for shell commands.\r | |
3 | \r | |
cf812a20 | 4 | Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved. <BR>\r |
a405b86d | 5 | 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 | #ifndef _UEFI_COMMAND_LIB_INTERNAL_HEADER_\r | |
16 | #define _UEFI_COMMAND_LIB_INTERNAL_HEADER_\r | |
17 | \r | |
18 | #include <Uefi.h>\r | |
19 | #include <ShellBase.h>\r | |
20 | \r | |
21 | #include <Guid/FileInfo.h>\r | |
22 | \r | |
23 | #include <Protocol/SimpleFileSystem.h>\r | |
24 | #include <Protocol/LoadedImage.h>\r | |
25 | #include <Protocol/EfiShellInterface.h>\r | |
26 | #include <Protocol/EfiShellEnvironment2.h>\r | |
27 | #include <Protocol/EfiShell.h>\r | |
28 | #include <Protocol/EfiShellParameters.h>\r | |
29 | #include <Protocol/UnicodeCollation.h>\r | |
30 | #include <Protocol/BlockIo.h>\r | |
cf812a20 | 31 | #include <Protocol/EfiShellDynamicCommand.h>\r |
a405b86d | 32 | \r |
33 | #include <Library/DevicePathLib.h>\r | |
34 | #include <Library/SortLib.h>\r | |
35 | #include <Library/HandleParsingLib.h>\r | |
36 | #include <Library/BaseLib.h>\r | |
37 | #include <Library/BaseMemoryLib.h>\r | |
38 | #include <Library/DebugLib.h>\r | |
39 | #include <Library/MemoryAllocationLib.h>\r | |
40 | #include <Library/PcdLib.h>\r | |
8d095e78 | 41 | #include <Library/ShellCommandLib.h>\r |
a405b86d | 42 | #include <Library/PrintLib.h>\r |
43 | #include <Library/ShellLib.h>\r | |
44 | #include <Library/HiiLib.h>\r | |
45 | #include <Library/UefiBootServicesTableLib.h>\r | |
46 | \r | |
47 | typedef struct{\r | |
48 | LIST_ENTRY Link;\r | |
49 | CHAR16 *CommandString;\r | |
50 | SHELL_GET_MAN_FILENAME GetManFileName;\r | |
51 | SHELL_RUN_COMMAND CommandHandler;\r | |
52 | BOOLEAN LastError;\r | |
53 | EFI_HANDLE HiiHandle;\r | |
54 | EFI_STRING_ID ManFormatHelp;\r | |
55 | } SHELL_COMMAND_INTERNAL_LIST_ENTRY;\r | |
56 | \r | |
57 | typedef struct {\r | |
58 | LIST_ENTRY Link;\r | |
59 | SCRIPT_FILE *Data;\r | |
60 | } SCRIPT_FILE_LIST;\r | |
61 | \r | |
a405b86d | 62 | typedef struct {\r |
63 | EFI_FILE_PROTOCOL *FileHandle;\r | |
64 | CHAR16 *Path;\r | |
65 | } SHELL_COMMAND_FILE_HANDLE;\r | |
66 | \r | |
67 | \r | |
68 | #endif //_UEFI_COMMAND_LIB_INTERNAL_HEADER_\r | |
69 | \r |