numam-dpdk/lib/librte_cmdline
Dmitry Kozlyuk 841dfdd06d cmdline: support Windows
Implement terminal handling, input polling, and vdprintf() for Windows.

Because Windows I/O model differs fundamentally from Unix and there is
no concept of character device, polling is simulated depending on the
underlying input device. Supporting non-terminal input is useful for
automated testing.

Windows emulation of VT100 uses "ESC [ E" for newline instead of
standard "ESC E", so add a workaround.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2020-10-15 00:39:10 +02:00
..
cmdline_cirbuf.c cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_cirbuf.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_os_unix.c cmdline: add internal wrapper for vdprintf 2020-10-15 00:39:10 +02:00
cmdline_os_windows.c cmdline: support Windows 2020-10-15 00:39:10 +02:00
cmdline_parse_etheraddr.c replace unused attributes 2020-04-16 18:30:58 +02:00
cmdline_parse_etheraddr.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_ipaddr.c cmdline: remove unnecessary #ifdef 2019-11-12 18:35:17 +01:00
cmdline_parse_ipaddr.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_num.c build: allow stricter fallthrough warnings 2019-10-24 01:02:30 +02:00
cmdline_parse_num.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_portlist.c replace unused attributes 2020-04-16 18:30:58 +02:00
cmdline_parse_portlist.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse_string.c convert snprintf to strlcpy 2018-04-04 17:33:08 +02:00
cmdline_parse_string.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_parse.c cmdline: support Windows 2020-10-15 00:39:10 +02:00
cmdline_parse.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_private.h cmdline: support Windows 2020-10-15 00:39:10 +02:00
cmdline_rdline.c cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_rdline.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_socket.c cmdline: support Windows 2020-10-15 00:39:10 +02:00
cmdline_socket.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_vt100.c cmdline: add internal wrappers for terminal handling 2020-10-15 00:39:10 +02:00
cmdline_vt100.h cmdline: support Windows 2020-10-15 00:39:10 +02:00
cmdline.c cmdline: support Windows 2020-10-15 00:39:10 +02:00
cmdline.h cmdline: make implementation logically opaque 2020-10-15 00:39:10 +02:00
meson.build cmdline: support Windows 2020-10-15 00:39:10 +02:00
rte_cmdline_version.map cmdline: make implementation logically opaque 2020-10-15 00:39:10 +02:00