]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.h
fa0f3ba05d7105591f541f5f5be549d9f6937bc9
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / Edit / Misc.h
1 /** @file
2 Declares generic editor helper functions.
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 "TextEditorTypes.h"
19
20
21
22 /**
23 Free a EFI_EDITOR_LINE structure.
24
25 @param Src The line structure to free.
26 **/
27 VOID
28 LineFree (
29 IN EFI_EDITOR_LINE *Src
30 );
31
32 /**
33 Duplicate a EFI_EDITOR_LINE structure.
34
35 @param Src The line structure to copy from.
36
37 @retval NULL A memory allocation failed.
38 @return a pointer to the newly allcoated line.
39 **/
40 EFI_EDITOR_LINE *
41 LineDup (
42 IN EFI_EDITOR_LINE *Src
43 );
44
45
46
47
48
49
50 #endif