]> code.delx.au - refind/blob - refind/line_edit.h
Fixed uninitialized-pointer bug that manifested as a crash with
[refind] / refind / line_edit.h
1 /*
2 * refind/screen_edit.h
3 *
4 * Line-editing functions borrowed from gummiboot
5 *
6 */
7 /*
8 * Simple UEFI boot loader which executes configured EFI images, where the
9 * default entry is selected by a configured pattern (glob) or an on-screen
10 * menu.
11 *
12 * All gummiboot code is LGPL not GPL, to stay out of politics and to give
13 * the freedom of copying code from programs to possible future libraries.
14 *
15 * This program is free software; you can redistribute it and/or modify it
16 * under the terms of the GNU Lesser General Public License as published by
17 * the Free Software Foundation; either version 2.1 of the License, or
18 * (at your option) any later version.
19 *
20 * This program is distributed in the hope that it will be useful, but
21 * WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
24 *
25 * Copyright (C) 2012-2013 Kay Sievers <kay@vrfy.org>
26 * Copyright (C) 2012 Harald Hoyer <harald@redhat.com>
27 *
28 * "Any intelligent fool can make things bigger, more complex, and more violent.
29 "
30 * -- Albert Einstein
31 */
32
33 #ifndef __LINE_EDIT_H_
34 #define __LINE_EDIT_H_
35
36 BOOLEAN line_edit(CHAR16 *line_in, CHAR16 **line_out, UINTN x_max);
37
38 #endif