NetworkManager/clients
Thomas Haller 66e5f13307 cli: simplify tracking of parent column in PrintDataCol structure
PrintDataCol contains a reference to the parent structure, for which
it was created. Previously, that was expressed via the "parent_idx"
field, which is an index into the list of all PrintDataCol entries.

That is inconvenient. Resolve the index to the actual pointer.

Note that during _output_selection_append() we still need to use
the index instead of resolving the pointer right away. That is because
_output_selection_append() grows the GArray into which the parent_idx
pointers to. So, obtaining the real pointer at that point would result
in using a dangling pointer later on.

Introduce a new step _output_selection_complete() which converts the
index into the actual pointer.
2018-07-25 17:08:37 +02:00
..
cli cli: simplify tracking of parent column in PrintDataCol structure 2018-07-25 17:08:37 +02:00
common device: configure SR-IOV 2018-07-11 16:16:22 +02:00
tests cli: fix skipping columns with all default-values 2018-07-25 17:08:37 +02:00
tui build: create "config-extra.h" header instead of passing directory variables via CFLAGS 2018-07-17 17:46:39 +02:00
meson.build build: create "config-extra.h" header instead of passing directory variables via CFLAGS 2018-07-17 17:46:39 +02:00
nm-online.c nm-online: print "[started|start-pending|failure]" for --wait-for-startup 2018-06-30 10:59:08 +02:00