NetworkManager/clients/cli
Thomas Haller d92b50fc70 cli: use define for argument lists in settings.c
settings.c basically consists of property-type structures and *a lot* of
accessors. All these accessors share the same argument list.

It is very repetitive to specify it over and over again. Also, there
are so many arguments that one is compelled to wrap the lines. All
in all it results in a lot of noise that takes the eye from the important
code.

Also, the argument list is expected to change, so we possibly only
have to change one place.
2017-03-30 13:09:57 +02:00
..
agent.c cli: use nmc_do_cmd to get the client and check if the daemon is running 2016-11-11 16:18:03 +01:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: add values_func() to NmcPropertyInfo and use for "connection" setting 2017-03-30 13:09:55 +02:00
common.h cli: add values_func() to NmcPropertyInfo and use for "connection" setting 2017-03-30 13:09:55 +02:00
connections.c cli: add property-info for the rest 2017-03-30 13:09:57 +02:00
connections.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
devices.c nmcli: fix nmcli parsing 2017-03-29 13:02:39 +02:00
devices.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
general.c nmcli: fix nmcli parsing 2017-03-29 13:02:39 +02:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: add property-info for the rest 2017-03-30 13:09:57 +02:00
nmcli.h cli: rework property handling via NmcPropertyInfo for NMSettingConnection 2017-03-30 13:09:55 +02:00
polkit-agent.c all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings-docs.xsl clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
settings.c cli: use define for argument lists in settings.c 2017-03-30 13:09:57 +02:00
settings.h cli: add property-info for the rest 2017-03-30 13:09:57 +02:00
utils.c cli: add values_func() to NmcPropertyInfo and use for "connection" setting 2017-03-30 13:09:55 +02:00
utils.h cli: add values_func() to NmcPropertyInfo and use for "connection" setting 2017-03-30 13:09:55 +02:00