]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/DiskImage.h
add Edit and HexEdit commands.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / DiskImage.h
CommitLineData
632820d1 1/** @file\r
2 Defines DiskImage - 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_DISK_IMAGE_H_\r
17#define _LIB_DISK_IMAGE_H_\r
18\r
19#include "HexEditor.h"\r
20\r
21EFI_STATUS\r
22HDiskImageInit (\r
23 VOID\r
24 );\r
25EFI_STATUS\r
26HDiskImageCleanup (\r
27 VOID\r
28 );\r
29EFI_STATUS\r
30HDiskImageBackup (\r
31 VOID\r
32 );\r
33\r
34EFI_STATUS\r
35HDiskImageRead (\r
36 IN CONST CHAR16 *,\r
37 IN UINTN,\r
38 IN UINTN,\r
39 IN BOOLEAN\r
40 );\r
41EFI_STATUS\r
42HDiskImageSave (\r
43 IN CHAR16 *,\r
44 IN UINTN,\r
45 IN UINTN\r
46 );\r
47\r
48#endif\r