diff options
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/curses.h | 3 | ||||
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/payloads/libpayload/include/curses.h b/payloads/libpayload/include/curses.h index 993bb3c962..6c9307a598 100644 --- a/payloads/libpayload/include/curses.h +++ b/payloads/libpayload/include/curses.h @@ -1673,4 +1673,7 @@ extern NCURSES_EXPORT(const char *) _nc_visbuf (const char *); void curses_enable_vga(int); void curses_enable_serial(int); +int curses_vga_enabled(void); +int curses_serial_enabled(void); + #endif /* _CURSES_H */ diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 7af19dee06..6a4db0e051 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -131,15 +131,19 @@ int keyboard_getchar(void); * @{ */ void serial_init(void); +void serial_hardware_init(int port, int speed, int word_bits, int parity, int stop_bits); void serial_putchar(unsigned char c); int serial_havechar(void); int serial_getchar(void); void serial_clear(void); void serial_start_bold(void); void serial_end_bold(void); +void serial_start_reverse(void); +void serial_end_reverse(void); void serial_start_altcharset(void); void serial_end_altcharset(void); void serial_set_color(short fg, short bg); +void serial_cursor_enable(int state); void serial_set_cursor(int y, int x); /** @} */ |