numam-dpdk/app/test-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_test_data.py support python 3 only 2020-10-02 13:51:00 +02:00
cmdline_test.c replace unused attributes 2020-04-16 18:30:58 +02:00
cmdline_test.h app/cmdline: move from test directory 2019-02-26 15:24:11 +01:00
cmdline_test.py support python 3 only 2020-10-02 13:51:00 +02:00
commands.c cmdline: make implementation logically opaque 2020-10-15 00:39:10 +02:00
meson.build app/cmdline: move from test directory 2019-02-26 15:24:11 +01:00