NetworkManager/clients
Thomas Haller ba350a3495 cli: add additional user-data argument to get_fcn()
The function nmc_print() receives a list of "targets". These are essentially
the rows that should be printed (while the "fields" list represents the columns).

When filling the cells with values, it calles repeatedly get_fcn() on the
column descriptors (fields), by passing each row (target).

The caller must be well aware that the fields and targets are
compatible. For example, in some cases the targets are NMDevice
instances and the target type must correspond to what get_fcn()
expects.

Add another user-data pointer that is passed on along with the
targets. That is useful, if we have a list of targets/rows, but
pass in additional data that applies to all rows alike.

It is still unused.
2018-07-09 15:43:55 +02:00
..
cli cli: add additional user-data argument to get_fcn() 2018-07-09 15:43:55 +02:00
common cli: add additional user-data argument to get_fcn() 2018-07-09 15:43:55 +02:00
tests cli: rework printing of "wired" and "wifi" device details 2018-07-09 15:43:55 +02:00
tui build: unifiy specifying locale directory define 2018-05-31 15:59:38 +02:00
meson.build build/meson: use variables for ldflags and linker-script 2018-01-11 12:46:01 +01:00
nm-online.c nm-online: print "[started|start-pending|failure]" for --wait-for-startup 2018-06-30 10:59:08 +02:00