cli: make properties list a list of pointers

System Internals / NetworkManager - Thomas Haller [redhat.com] - 13 April 2017 04:10 EDT

That allows for the property list to contain derived property types. Also, the list can be directly passed off as a "const NMMetaAbstractInfo *const*" list.

275ab5f cli: make properties list a list of pointers
clients/cli/connections.c | 34 +-
clients/cli/nmcli.c | 2 +-
clients/common/nm-meta-setting-access.c | 33 +-
clients/common/nm-meta-setting-access.h | 2 -
clients/common/nm-meta-setting-desc.c | 1631 +++++++++++++------------------
clients/common/nm-meta-setting-desc.h | 8 +-
clients/common/tests/test-general.c | 20 +-
7 files changed, 725 insertions(+), 1005 deletions(-)

Upstream: cgit.freedesktop.org


  • Share