]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/Misc.h
ShellPkg/Application: Remove unnecessary EFIAPI
[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
5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _LIB_MISC_H_\r
16#define _LIB_MISC_H_\r
17\r
18#include "TextEditorTypes.h"\r
19\r
20\r
21\r
22/**\r
23 Free a EFI_EDITOR_LINE structure.\r
24\r
25 @param Src The line structure to free.\r
26**/\r
27VOID\r
28EFIAPI\r
29LineFree (\r
30 IN EFI_EDITOR_LINE *Src\r
31 );\r
32\r
33/**\r
34 Duplicate a EFI_EDITOR_LINE structure.\r
35\r
36 @param Src The line structure to copy from.\r
37\r
38 @retval NULL A memory allocation failed.\r
39 @return a pointer to the newly allcoated line.\r
40**/\r
41EFI_EDITOR_LINE *\r
42EFIAPI\r
43LineDup (\r
44 IN EFI_EDITOR_LINE *Src\r
45 );\r
46\r
47\r
48\r
49\r
50\r
51\r
52#endif\r