NetworkManager/clients/cli
Thomas Haller 6a489199b9 cli: make setting meta data more generic
Embed a @meta_type structure in NMMetaSettingInfoEditor and
NMMetaPropertyInfo. This allows to make the NMMeta*Info instances
themself to become generic and they can be passed around as generic
NMMetaAbstractInfo types.
For one, the embedded NMMetaType pointer can be used to determine
of which type a NMMetaAbstractInfo instance is. On the other hand,
the NMMetaType struct can be extended to be a VTable to provide
generic access to the type.
In the end, both NMMetaSettingInfoEditor and NMMetaPropertyInfo are
conceptionally very similar: the describe a certain type and provide
accessors.

In nmcli we have yet another NMMetaAbstractInfo type: NmcOutputField
will be modified to become another implementation of meta data (it
already is, it just cannot be used interchangable with the other
types).

Also, embed the NMMetaSettingInfoEditor in the NMMetaPropertyInfo
instance. This allows from a given NMMetaPropertyInfo to retrieve it's
parent NMMetaSettingInfoEditor.
2017-04-05 16:53:06 +02:00
..
agent.c nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 15:43:40 +02:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: pass arguments for print_data separately of NmcOutputData 2017-04-05 16:53:06 +02:00
common.h cli: don't track output data in global NmCli structure 2017-03-30 14:56:21 +02:00
connections.c cli: split out new file "nm-meta-setting-access.h" 2017-04-05 16:53:06 +02:00
connections.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
devices.c cli: pass arguments for print_data separately of NmcOutputData 2017-04-05 16:53:06 +02:00
devices.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
general.c cli: pass arguments for print_data separately of NmcOutputData 2017-04-05 16:53:06 +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 nmcli: allow cmd specific option parsing in next_arg() func 2017-04-05 15:43:40 +02:00
nmcli.h cli: pass arguments for print_data separately of NmcOutputData 2017-04-05 16:53:06 +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.c cli: make setting meta data more generic 2017-04-05 16:53:06 +02:00
settings.h cli: split out new file "nm-meta-setting-access.h" 2017-04-05 16:53:06 +02:00
utils.c cli: pass arguments for print_data separately of NmcOutputData 2017-04-05 16:53:06 +02:00
utils.h cli: pass arguments for print_data separately of NmcOutputData 2017-04-05 16:53:06 +02:00