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 
12 #define WRAP 0
13 #define NOWRAP 1
14 
15 extern SCREEN _ansi_screen;
16 
17 extern void _wputch ( WINDOW *win, chtype ch, int wrap ) __nonnull;
18 extern void _wputc ( WINDOW *win, char c, int wrap ) __nonnull;
19 extern void _wputchstr ( WINDOW *win, const chtype *chstr, int wrap, int n ) __nonnull;
20 extern void _wputstr ( WINDOW *win, const char *str, int wrap, int n ) __nonnull;
21 extern void _wcursback ( WINDOW *win ) __nonnull;
22 
23 #endif /* _MUCURSES_H */
uint32_t c
Definition: md4.c:30
void _wputc(WINDOW *win, char c, int wrap) __nonnull
Write a single character to a window.
Definition: mucurses.c:77
Curses SCREEN object.
Definition: curses.h:33
Curses Window struct.
Definition: curses.h:89
SCREEN _ansi_screen
Definition: ansi_screen.c:93
void _wputstr(WINDOW *win, const char *str, int wrap, int n) __nonnull
Write a standard c-style string to a window.
Definition: mucurses.c:121
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:50
void _wputchstr(WINDOW *win, const chtype *chstr, int wrap, int n) __nonnull
Write a chtype string to a window.
Definition: mucurses.c:107
uint32_t chtype
Definition: curses.h:29
void _wcursback(WINDOW *win) __nonnull
Retreat the cursor back one position (useful for a whole host of ops)
Definition: mucurses.c:87
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)