]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.h
ShellPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / Edit / Misc.h
CommitLineData
632820d1 1/** @file\r
2 Declares generic editor helper functions.\r
3\r
4 Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>\r
56ba3746 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
632820d1 6\r
7**/\r
8\r
9#ifndef _LIB_MISC_H_\r
10#define _LIB_MISC_H_\r
11\r
12#include "TextEditorTypes.h"\r
13\r
14\r
15\r
16/**\r
17 Free a EFI_EDITOR_LINE structure.\r
18\r
19 @param Src The line structure to free.\r
20**/\r
21VOID\r
632820d1 22LineFree (\r
23 IN EFI_EDITOR_LINE *Src\r
24 );\r
25\r
26/**\r
27 Duplicate a EFI_EDITOR_LINE structure.\r
28\r
29 @param Src The line structure to copy from.\r
30\r
31 @retval NULL A memory allocation failed.\r
32 @return a pointer to the newly allcoated line.\r
33**/\r
34EFI_EDITOR_LINE *\r
632820d1 35LineDup (\r
36 IN EFI_EDITOR_LINE *Src\r
37 );\r
38\r
39\r
40\r
41\r
42\r
43\r
44#endif\r