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 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 FILE_SECBOOT ( PERMITTED );
12 
13 #define WRAP 0
14 #define NOWRAP 1
15 
16 extern SCREEN _ansi_screen;
17 
18 extern void _wputch ( WINDOW *win, chtype ch, int wrap ) __nonnull;
19 extern void _wputc ( WINDOW *win, char c, int wrap ) __nonnull;
20 extern void _wputchstr ( WINDOW *win, const chtype *chstr, int wrap, int n ) __nonnull;
21 extern void _wputstr ( WINDOW *win, const char *str, int wrap, int n ) __nonnull;
22 extern void _wcursback ( WINDOW *win ) __nonnull;
23 
24 #endif /* _MUCURSES_H */
void _wputc(WINDOW *win, char c, int wrap) __nonnull
Write a single character to a window.
Definition: mucurses.c:78
Curses SCREEN object.
Definition: curses.h:34
Curses Window struct.
Definition: curses.h:90
SCREEN _ansi_screen
Definition: ansi_screen.c:94
FILE_SECBOOT(PERMITTED)
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
uint8_t ch
Definition: registers.h:83
#define __nonnull
Declare a function's pointer parameters as non-null - i.e.
Definition: compiler.h:592
void _wputch(WINDOW *win, chtype ch, int wrap) __nonnull
Write a single character rendition to a window.
Definition: mucurses.c:51
void _wputchstr(WINDOW *win, const chtype *chstr, int wrap, int n) __nonnull
Write a chtype string to a window.
Definition: mucurses.c:108
uint32_t chtype
Definition: curses.h:30
void _wcursback(WINDOW *win) __nonnull
Retreat the cursor back one position (useful for a whole host of ops)
Definition: mucurses.c:88
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)