2009-09-20 Robert Millan <rmh.grub@aybabtu.com>
[grub2/phcoder/solaris.git] / include / grub / terminfo.h
blob1ea741e0445ae681f8314c856dfaab338bf111f5
1 /*
2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2002,2003,2005,2007 Free Software Foundation, Inc.
5 * GRUB is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * GRUB is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef GRUB_TERMINFO_HEADER
20 #define GRUB_TERMINFO_HEADER 1
22 #include <grub/err.h>
23 #include <grub/types.h>
25 char *grub_terminfo_get_current (void);
26 grub_err_t grub_terminfo_set_current (const char *);
28 void grub_terminfo_gotoxy (grub_uint8_t x, grub_uint8_t y);
29 void grub_terminfo_cls (void);
30 void grub_terminfo_reverse_video_on (void);
31 void grub_terminfo_reverse_video_off (void);
32 void grub_terminfo_cursor_on (void);
33 void grub_terminfo_cursor_off (void);
35 #endif /* ! GRUB_TERMINFO_HEADER */