]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.h
ShellPkg: Apply uncrustify changes
[mirror_edk2.git] / ShellPkg / Library / UefiShellLevel3CommandsLib / UefiShellLevel3CommandsLib.h
CommitLineData
a405b86d 1/** @file\r
2 header file for NULL named library for level 3 shell command functions.\r
3\r
28165f24 4 Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved. <BR>\r
56ba3746 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
a405b86d 6\r
7**/\r
8\r
a1d4bfcc 9#ifndef _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_\r
345cd235 10#define _UEFI_SHELL_LEVEL3_COMMANDS_LIB_H_\r
11\r
a405b86d 12#include <Uefi.h>\r
a405b86d 13\r
bca163ff
LG
14#include <Guid/ShellLibHiiGuid.h>\r
15\r
28165f24
RN
16#include <Protocol/Shell.h>\r
17#include <Protocol/ShellParameters.h>\r
a405b86d 18#include <Protocol/DevicePath.h>\r
19#include <Protocol/LoadedImage.h>\r
20#include <Protocol/UnicodeCollation.h>\r
a405b86d 21\r
22#include <Library/BaseLib.h>\r
23#include <Library/BaseMemoryLib.h>\r
24#include <Library/DebugLib.h>\r
25#include <Library/MemoryAllocationLib.h>\r
26#include <Library/PcdLib.h>\r
27#include <Library/ShellCommandLib.h>\r
28#include <Library/ShellLib.h>\r
29#include <Library/UefiLib.h>\r
30#include <Library/UefiRuntimeServicesTableLib.h>\r
31#include <Library/UefiBootServicesTableLib.h>\r
32#include <Library/HiiLib.h>\r
33#include <Library/FileHandleLib.h>\r
34\r
47d20b54 35extern EFI_HII_HANDLE gShellLevel3HiiHandle;\r
a405b86d 36\r
37/**\r
38 Function for 'type' command.\r
39\r
40 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
41 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
42**/\r
43SHELL_STATUS\r
44EFIAPI\r
45ShellCommandRunType (\r
46 IN EFI_HANDLE ImageHandle,\r
47 IN EFI_SYSTEM_TABLE *SystemTable\r
48 );\r
49\r
50/**\r
51 Function for 'touch' command.\r
52\r
53 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
54 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
55**/\r
56SHELL_STATUS\r
57EFIAPI\r
58ShellCommandRunTouch (\r
59 IN EFI_HANDLE ImageHandle,\r
60 IN EFI_SYSTEM_TABLE *SystemTable\r
61 );\r
62\r
63/**\r
64 Function for 'ver' command.\r
65\r
66 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
67 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
68**/\r
69SHELL_STATUS\r
70EFIAPI\r
71ShellCommandRunVer (\r
72 IN EFI_HANDLE ImageHandle,\r
73 IN EFI_SYSTEM_TABLE *SystemTable\r
74 );\r
75\r
76/**\r
77 Function for 'alias' command.\r
78\r
79 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
80 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
81**/\r
82SHELL_STATUS\r
83EFIAPI\r
84ShellCommandRunAlias (\r
85 IN EFI_HANDLE ImageHandle,\r
86 IN EFI_SYSTEM_TABLE *SystemTable\r
87 );\r
88\r
89/**\r
90 Function for 'cls' command.\r
91\r
92 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
93 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
94**/\r
95SHELL_STATUS\r
96EFIAPI\r
97ShellCommandRunCls (\r
98 IN EFI_HANDLE ImageHandle,\r
99 IN EFI_SYSTEM_TABLE *SystemTable\r
100 );\r
101\r
102/**\r
103 Function for 'echo' command.\r
104\r
105 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
106 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
107**/\r
108SHELL_STATUS\r
109EFIAPI\r
110ShellCommandRunEcho (\r
111 IN EFI_HANDLE ImageHandle,\r
112 IN EFI_SYSTEM_TABLE *SystemTable\r
113 );\r
114\r
115/**\r
116 Function for 'pause' command.\r
117\r
118 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
119 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
120**/\r
121SHELL_STATUS\r
122EFIAPI\r
123ShellCommandRunPause (\r
124 IN EFI_HANDLE ImageHandle,\r
125 IN EFI_SYSTEM_TABLE *SystemTable\r
126 );\r
127\r
128/**\r
129 Function for 'getmtc' command.\r
130\r
131 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
132 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
133**/\r
134SHELL_STATUS\r
135EFIAPI\r
136ShellCommandRunGetMtc (\r
137 IN EFI_HANDLE ImageHandle,\r
138 IN EFI_SYSTEM_TABLE *SystemTable\r
139 );\r
140\r
141/**\r
142 Function for 'help' command.\r
143\r
144 @param[in] ImageHandle Handle to the Image (NULL if Internal).\r
145 @param[in] SystemTable Pointer to the System Table (NULL if Internal).\r
146**/\r
147SHELL_STATUS\r
148EFIAPI\r
149ShellCommandRunHelp (\r
150 IN EFI_HANDLE ImageHandle,\r
151 IN EFI_SYSTEM_TABLE *SystemTable\r
152 );\r
153\r
345cd235 154#endif\r