]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/BaseShellLib/BaseShellLib.h
fixed to build under IPF.
[mirror_edk2.git] / ShellPkg / Library / BaseShellLib / BaseShellLib.h
diff --git a/ShellPkg/Library/BaseShellLib/BaseShellLib.h b/ShellPkg/Library/BaseShellLib/BaseShellLib.h
new file mode 100644 (file)
index 0000000..1620641
--- /dev/null
@@ -0,0 +1,26 @@
+/** @file\r
+  Provides interface to shell functionality for shell commands and applications.\r
+\r
+Copyright (c) 2006 - 2009, Intel Corporation\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+typedef struct  {\r
+  EFI_SHELL_GET_FILE_INFO                   GetFileInfo;\r
+  EFI_SHELL_SET_FILE_INFO                   SetFileInfo;\r
+  EFI_SHELL_READ_FILE                       ReadFile;\r
+  EFI_SHELL_WRITE_FILE                      WriteFile;\r
+  EFI_SHELL_CLOSE_FILE                      CloseFile;\r
+  EFI_SHELL_DELETE_FILE                     DeleteFile;\r
+  EFI_SHELL_GET_FILE_POSITION               GetFilePosition;\r
+  EFI_SHELL_SET_FILE_POSITION               SetFilePosition;\r
+  EFI_SHELL_FLUSH_FILE                      FlushFile;\r
+  EFI_SHELL_GET_FILE_SIZE                   GetFileSize;\r
+} FILE_HANDLE_FUNCTION_MAP;\r