numam-dpdk/lib/librte_cmdline
Dmitry Kozlyuk 51fcb6a1fe cmdline: make implementation logically opaque
struct cmdline exposes platform-specific members it contains, most
notably struct termios that is only available on Unix. While ABI
considerations prevent from hinding the definition on already supported
platforms, struct cmdline is considered logically opaque from now on.
Add a deprecation notice targeted at 20.11.

* Remove tests checking struct cmdline content as meaningless.

* Fix missing cmdline_free() in unit test.

* Add cmdline_get_rdline() to access history buffer indirectly.
  The new function is currently used only in tests.

Suggested-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
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_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: make implementation logically opaque 2020-10-15 00:39:10 +02:00
cmdline_parse.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01: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: make implementation logically opaque 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: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline_vt100.h cmdline: use SPDX tags 2018-02-01 02:27:22 +01:00
cmdline.c cmdline: make implementation logically opaque 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 build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_cmdline_version.map cmdline: make implementation logically opaque 2020-10-15 00:39:10 +02:00