]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.h
Comment's added and fixed.
[mirror_edk2.git] / ShellPkg / Library / UefiShellCommandLib / UefiShellCommandLib.h
1 /** @file
2 Provides interface to shell internal functions for shell commands.
3
4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved. <BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 #ifndef _UEFI_COMMAND_LIB_INTERNAL_HEADER_
16 #define _UEFI_COMMAND_LIB_INTERNAL_HEADER_
17
18 #include <Uefi.h>
19 #include <ShellBase.h>
20
21 #include <Guid/FileInfo.h>
22
23 #include <Protocol/SimpleFileSystem.h>
24 #include <Protocol/LoadedImage.h>
25 #include <Protocol/EfiShellInterface.h>
26 #include <Protocol/EfiShellEnvironment2.h>
27 #include <Protocol/EfiShell.h>
28 #include <Protocol/EfiShellParameters.h>
29 #include <Protocol/UnicodeCollation.h>
30 #include <Protocol/BlockIo.h>
31
32 #include <Library/DevicePathLib.h>
33 #include <Library/SortLib.h>
34 #include <Library/HandleParsingLib.h>
35 #include <Library/BaseLib.h>
36 #include <Library/BaseMemoryLib.h>
37 #include <Library/DebugLib.h>
38 #include <Library/MemoryAllocationLib.h>
39 #include <Library/PcdLib.h>
40 #include <Library/ShellCommandLib.h>
41 #include <Library/PrintLib.h>
42 #include <Library/ShellLib.h>
43 #include <Library/HiiLib.h>
44 #include <Library/UefiBootServicesTableLib.h>
45
46 typedef struct{
47 LIST_ENTRY Link;
48 CHAR16 *CommandString;
49 SHELL_GET_MAN_FILENAME GetManFileName;
50 SHELL_RUN_COMMAND CommandHandler;
51 BOOLEAN LastError;
52 EFI_HANDLE HiiHandle;
53 EFI_STRING_ID ManFormatHelp;
54 } SHELL_COMMAND_INTERNAL_LIST_ENTRY;
55
56 typedef struct {
57 LIST_ENTRY Link;
58 SCRIPT_FILE *Data;
59 } SCRIPT_FILE_LIST;
60
61 typedef struct {
62 EFI_FILE_PROTOCOL *FileHandle;
63 CHAR16 *Path;
64 } SHELL_COMMAND_FILE_HANDLE;
65
66
67 #endif //_UEFI_COMMAND_LIB_INTERNAL_HEADER_
68