iPXE
mucurses.h
Go to the documentation of this file.
1#ifndef _MUCURSES_H
2#define _MUCURSES_H
3
4/** @file
5 *
6 * MuCurses core implementation specific header file
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#define WRAP 0
14#define NOWRAP 1
15
16extern SCREEN _ansi_screen;
17
18extern void _wputch ( WINDOW *win, chtype ch, int wrap ) __nonnull;
19extern void _wputc ( WINDOW *win, char c, int wrap ) __nonnull;
20extern void _wputchstr ( WINDOW *win, const chtype *chstr, int wrap, int n ) __nonnull;
21extern void _wputstr ( WINDOW *win, const char *str, int wrap, int n ) __nonnull;
22extern void _wcursback ( WINDOW *win ) __nonnull;
23
24#endif /* _MUCURSES_H */
SCREEN _ansi_screen
Definition ansi_screen.c:94
uint32_t chtype
Definition curses.h:30
struct _curses_screen SCREEN
Curses SCREEN object.
struct _curses_window WINDOW
Curses Window struct.
#define __nonnull
Declare a function's pointer parameters as non-null - i.e.
Definition compiler.h:592
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
void _wputchstr(WINDOW *win, const chtype *chstr, int wrap, int n) __nonnull
Write a chtype string to a window.
Definition mucurses.c:108
void _wputstr(WINDOW *win, const char *str, int wrap, int n) __nonnull
Write a standard c-style string to a window.
Definition mucurses.c:122
void _wputch(WINDOW *win, chtype ch, int wrap) __nonnull
Write a single character rendition to a window.
Definition mucurses.c:51
void _wcursback(WINDOW *win) __nonnull
Retreat the cursor back one position (useful for a whole host of ops)
Definition mucurses.c:88
void _wputc(WINDOW *win, char c, int wrap) __nonnull
Write a single character to a window.
Definition mucurses.c:78
uint8_t ch
Definition registers.h:1