]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/FileImage.h
add Edit and HexEdit commands.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / FileImage.h
CommitLineData
632820d1 1/** @file\r
2 Defines FileImage - the view of the file that is visible at any point, \r
3 as well as the event handlers for editing the file\r
4 \r
5 Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>\r
6 This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _LIB_FILE_IMAGE_H_\r
17#define _LIB_FILE_IMAGE_H_\r
18\r
19#include "HexEditor.h"\r
20\r
21EFI_STATUS\r
22HFileImageInit (\r
23 VOID\r
24 );\r
25EFI_STATUS\r
26HFileImageCleanup (\r
27 VOID\r
28 );\r
29EFI_STATUS\r
30HFileImageBackup (\r
31 VOID\r
32 );\r
33\r
34EFI_STATUS\r
35HFileImageSetFileName (\r
36 IN CONST CHAR16 *\r
37 );\r
38\r
39EFI_STATUS\r
40HFileImageGetFileInfo (\r
41 EFI_FILE_HANDLE,\r
42 CHAR16 *,\r
43 EFI_FILE_INFO **\r
44 );\r
45\r
46EFI_STATUS\r
47HFileImageRead (\r
48 IN CONST CHAR16 *,\r
49 IN BOOLEAN\r
50 );\r
51EFI_STATUS\r
52HFileImageSave (\r
53 IN CHAR16 *\r
54 );\r
55\r
56#endif\r