NetworkManager/clients/common
Thomas Haller bfb9fd0d2f cli: split tracking of meta data out of NmcOutputField
When generating output data, nmcli iterates over a list of
property-descriptors (nmc_fields_ip4_config), creates an intermediate
array (output_data) and finally prints it.

However, previously both the meta data (nmc_fields_ip4_config) and
the intermediate format use the same type NmcOutputField. This means,
certain fields are relevant to describe a property, and other fields
are output/formatting fields.

Split this up. Now, the meta data is tracked in form of an NMMetaAbstractInfo
lists. This separates the information about properties from intermediate steps
during creation of the output.

Note that currently functions like print_ip4_config() still have all the
knowledge about how to generate the output. That is wrong, instead, the
meta data (NMMetaAbstractInfo) should describe how to create the output
and then all those functions could be replaced. This means, later we want
to add more knowledge to the NMMetaAbstractInfo, so it is important to
keep them separate from NmcOutputField.
2017-04-05 16:53:06 +02:00
..
nm-client-utils.c shared: move _nm_utils_strv_cleanup() to shared utils 2017-04-05 16:53:06 +02:00
nm-client-utils.h cli: move utils function from common.h to nm-meta-setting-desc.c 2017-03-30 13:09:58 +02:00
nm-meta-setting-access.c cli: split tracking of meta data out of NmcOutputField 2017-04-05 16:53:06 +02:00
nm-meta-setting-access.h cli: split tracking of meta data out of NmcOutputField 2017-04-05 16:53:06 +02:00
nm-meta-setting-desc.c cli: split tracking of meta data out of NmcOutputField 2017-04-05 16:53:06 +02:00
nm-meta-setting-desc.h cli: split tracking of meta data out of NmcOutputField 2017-04-05 16:53:06 +02:00
nm-polkit-listener.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-polkit-listener.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-secret-agent-simple.c cli: fix leak in add_vpn_secrets() 2017-04-05 14:18:55 +02:00
nm-secret-agent-simple.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-vpn-helpers.c cli: make static arrays in nm_vpn_get_secret_names() const 2017-04-05 14:18:55 +02:00
nm-vpn-helpers.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
settings-docs.xsl cli: embed gtk-doc directly in property-info structure 2017-03-30 16:35:52 +02:00