CNDP
22.08.0
|
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <cne_atomic.h>
#include <cne_common.h>
#include <cne_stdio.h>
#include <cne_system.h>
#include <cne_tty.h>
#include <vt100_out.h>
Go to the source code of this file.
Functions | |
CNDP_API struct cli_vt100 * | vt100_setup (void) |
CNDP_API void | vt100_free (struct cli_vt100 *vt) |
CNDP_API int | vt100_parse_input (struct cli_vt100 *vt, uint8_t c) |
CNDP_API void | vt100_do_cmd (int idx) |
CNDP_API struct vt100_cmds * | vt100_get_cmds (void) |
CNE cursor and color support for VT100 using ANSI color escape codes.
Definition in file cli_vt100.h.
CNDP_API struct cli_vt100* vt100_setup | ( | void | ) |
Create the cli_vt100 structure
CNDP_API void vt100_free | ( | struct cli_vt100 * | vt | ) |
Destroy the cli_vt100 structure
vt | The pointer to the cli_vt100 structure. |
CNDP_API int vt100_parse_input | ( | struct cli_vt100 * | vt, |
uint8_t | c | ||
) |
Input a new character.
vt | The pointer to the cli_vt100 structure |
c | The character to parse for cli_vt100 commands |
CNDP_API void vt100_do_cmd | ( | int | idx | ) |
Detect and execute vt100 command strings (Internal function)
idx | The vt100 command index value. |
CNDP_API struct vt100_cmds* vt100_get_cmds | ( | void | ) |
Locate a vt100 command from stdin keys