3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00
iwd/client
Tim Kourt 0a1cd37228 client: Enable lookup of command options with no arguments.
Previously, command_option_get used to return NULL in the following
two scenarios: when command-line option with a such name didn’t exists
or its argument was not provided. This worked great for the cmd-line
options with the required arguments. With introduction of the cmd-line
options with no or optional arguments the function was changed to return
a boolean value indicating the existence of a such option and then, if
it had an argument - value_out variable would have been set.

Thereafter, this patch modifies the current usages of command_option_get.
Note, in these particular applications of command_option_get there is no
need to check the returned value from command_option_get, since these
options have the required arguments and we can only check if the value_out
parameter has been set or not.
2019-09-19 11:25:53 -05:00
..
ad-hoc.c client: Reword station/ap/adhoc list command help 2018-11-29 20:34:10 -06:00
adapter.c client: Fix mem leak 2018-11-12 19:25:19 -06:00
agent-manager.c client: Move definition of agent manager interface 2019-08-15 15:06:59 -05:00
agent-manager.h client: implement agent-manager API 2018-05-03 16:00:23 -05:00
agent.c client: Enable lookup of command options with no arguments. 2019-09-19 11:25:53 -05:00
agent.h client: introduce agent 2018-05-03 16:00:23 -05:00
ap.c client: Reword station/ap/adhoc list command help 2018-11-29 20:34:10 -06:00
command.c client: Enable lookup of command options with no arguments. 2019-09-19 11:25:53 -05:00
command.h client: Enable lookup of command options with no arguments. 2019-09-19 11:25:53 -05:00
dbus-proxy.c client: Set exit status on agent reg. failure 2019-09-02 16:12:37 -05:00
dbus-proxy.h client: Move definition of agent manager interface 2019-08-15 15:06:59 -05:00
device.c client: Fix network name completion after restart of iwd 2019-07-18 23:37:54 -05:00
device.h client: Unify device sibling interface arg completion 2018-09-14 22:59:19 -05:00
display.c client: Enable non-interactive mode support for agent prompts 2019-09-02 16:12:37 -05:00
display.h client: Utilize l_parse_args 2018-07-30 08:59:55 -05:00
known-networks.c client: Add 'set-property' cmd for known networks 2019-04-11 10:57:14 -05:00
main.c client: Change semantics of return value from command_init 2019-09-17 16:17:30 -05:00
network.c client: Optimize network property lookups 2018-11-12 11:10:23 -06:00
network.h client: Optimize network property lookups 2018-11-12 11:10:23 -06:00
properties.c client: Add 'Yes', 'No' property type support 2019-04-11 10:54:07 -05:00
properties.h client: Add 'Yes', 'No' property type support 2019-04-11 10:54:07 -05:00
station.c client: Remove unused interface 2019-03-21 17:02:20 -05:00
wsc.c client: Remove unused state 2019-03-22 18:10:47 -05:00