]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.h
ShellPkg: Apply uncrustify changes
[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 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef _LIB_MISC_H_
10 #define _LIB_MISC_H_
11
12 #include "TextEditorTypes.h"
13
14 /**
15 Free a EFI_EDITOR_LINE structure.
16
17 @param Src The line structure to free.
18 **/
19 VOID
20 LineFree (
21 IN EFI_EDITOR_LINE *Src
22 );
23
24 /**
25 Duplicate a EFI_EDITOR_LINE structure.
26
27 @param Src The line structure to copy from.
28
29 @retval NULL A memory allocation failed.
30 @return a pointer to the newly allcoated line.
31 **/
32 EFI_EDITOR_LINE *
33 LineDup (
34 IN EFI_EDITOR_LINE *Src
35 );
36
37 #endif