cmdline: add internal wrappers for terminal handling
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Mon, 28 Sep 2020 21:50:47 +0000 (00:50 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 14 Oct 2020 22:39:10 +0000 (00:39 +0200)
commit7b5f4e1d30eca55b0175a6d75e5edf0336379269
treec89422e3c3b54b8c11e0330f4c87c1c27f3429f1
parent51fcb6a1fe1c92176ea19f20ccadaad9a5e0fcb4
cmdline: add internal wrappers for terminal handling

Add functions that set up, save, and restore terminal parameters.
Use existing code as Unix implementation.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_cmdline/cmdline_os_unix.c [new file with mode: 0644]
lib/librte_cmdline/cmdline_private.h [new file with mode: 0644]
lib/librte_cmdline/cmdline_socket.c
lib/librte_cmdline/cmdline_vt100.c
lib/librte_cmdline/meson.build