]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/Misc.h
a9b59ff514eab01e475596f48aed1329d9787f75
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / HexEdit / Misc.h
1 /** @file
2 Definitions for various line and string routines
3
4 Copyright (c) 2005 - 2011, 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 _LIB_MISC_H_
16 #define _LIB_MISC_H_
17
18 #include "HexEditor.h"
19
20 VOID
21 HEditorClearLine (
22 UINTN
23 );
24 HEFI_EDITOR_LINE *
25 HLineDup (
26 HEFI_EDITOR_LINE *
27 );
28 VOID
29 HLineFree (
30 HEFI_EDITOR_LINE *
31 );
32
33 HEFI_EDITOR_LINE *
34 HMoveLine (
35 INTN
36 );
37 HEFI_EDITOR_LINE *
38 HMoveCurrentLine (
39 INTN
40 );
41
42 UINTN
43 HLineStrInsert (
44 HEFI_EDITOR_LINE *,
45 CHAR16,
46 UINTN,
47 UINTN
48 );
49
50 VOID
51 HLineCat (
52 HEFI_EDITOR_LINE *,
53 HEFI_EDITOR_LINE *
54 );
55
56 VOID
57 HLineDeleteAt (
58 HEFI_EDITOR_LINE *,
59 UINTN
60 );
61
62 UINTN
63 HUnicodeToAscii (
64 CHAR16 *,
65 UINTN,
66 CHAR8 *
67 );
68
69 UINTN
70 HStrStr (
71 CHAR16 *,
72 CHAR16 *
73 );
74
75 EFI_STATUS
76 HFreeLines (
77 LIST_ENTRY *,
78 HEFI_EDITOR_LINE *
79 );
80
81 INT32
82 HGetTextX (
83 INT32
84 ) ;
85 INT32
86 HGetTextY (
87 INT32
88 ) ;
89
90 EFI_STATUS
91 HXtoi (
92 CHAR16 *,
93 UINTN *
94 );
95
96 #endif