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