3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00
iwd/client
James Prestwood 9aefec6124 client: allow entity name to be passed to completion
There is a limitation of libreadline where no context/userdata
can be passed to completion functions. Thi affects iwctl since
the entity value isn't known to completion functions.

Workarounds such as getting the default device are employed but
its not a great solution.

Instead hack around this limitation by parsing the prompt to
extract the entity (second arg). Then use a generic match function
given to readline which can call the actual match function and
include the entity.
2022-08-11 15:47:02 -05:00
..
ad-hoc.c client: update ad-hoc table header 2022-07-07 14:09:03 -05:00
adapter.c client: allow entity name to be passed to completion 2022-08-11 15:47:02 -05:00
agent-manager.c client: Rework agent registarion logic 2020-02-27 16:30:11 -06:00
agent-manager.h client: Rework agent registarion logic 2020-02-27 16:30:11 -06:00
agent.c client: make COLOR_* macros take a string input 2022-07-07 14:09:03 -05:00
agent.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
ap.c client: update ap to use display_table_row 2022-07-07 14:09:03 -05:00
command.c client: allow entity name to be passed to completion 2022-08-11 15:47:02 -05:00
command.h client: allow entity name to be passed to completion 2022-08-11 15:47:02 -05:00
daemon.c client: add a few return checks 2022-03-18 11:31:48 -05:00
daemon.h client: Print daemon information at startup 2021-10-25 17:24:51 -05:00
dbus-proxy.c client: make COLOR_* macros take a string input 2022-07-07 14:09:03 -05:00
dbus-proxy.h client: add STATION_DEBUG_INTERFACE definition 2022-08-11 09:45:48 -05:00
device.c client: allow entity name to be passed to completion 2022-08-11 15:47:02 -05:00
device.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
diagnostic.c client: update station to use display_table_row 2022-07-07 14:09:03 -05:00
diagnostic.h client: Update copyrights 2021-01-25 10:46:07 -06:00
display.c client: make COLOR_* macros take a string input 2022-07-07 14:09:03 -05:00
display.h client: make COLOR_* macros take a string input 2022-07-07 14:09:03 -05:00
dpp.c client: check NULL return for DPP cmd_show 2022-07-07 14:09:03 -05:00
iwctl.rst manpage: Add command options and examples for iwctl 2019-10-29 15:07:09 -05:00
known-networks.c client: allow entity name to be passed to completion 2022-08-11 15:47:02 -05:00
main.c client: Set EXIT_FAILURE on SIGTERM/SIGINT 2020-08-18 21:09:30 -05:00
network.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
network.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
properties.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
properties.h client: Make variables extern 2020-01-27 09:47:40 -06:00
station.c client: allow entity name to be passed to completion 2022-08-11 15:47:02 -05:00
wsc.c client: remove newline/tab encoding from help description 2022-07-07 14:09:03 -05:00