NetworkManager/clients/common
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
..
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: make setting meta data more generic 2017-04-05 16:53:06 +02:00
nm-meta-setting-access.h cli: make setting meta data more generic 2017-04-05 16:53:06 +02:00
nm-meta-setting-desc.c cli: make setting meta data more generic 2017-04-05 16:53:06 +02:00
nm-meta-setting-desc.h cli: make setting meta data more generic 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