NetworkManager/clients/common
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
..
tests build: meson: add prefix to test names 2018-04-12 09:21:10 +02:00
meson.build build/meson: fix meson build for shared files 2018-05-31 15:59:38 +02:00
nm-client-utils.c cli: rework enum-to-string function to not return translated text 2018-07-09 15:43:55 +02:00
nm-client-utils.h clients/common: add nmc_objects_sort_by_path() helper 2018-05-14 17:53:03 +02:00
nm-meta-setting-access.c cli: add additional user-data argument to get_fcn() 2018-07-09 15:43:55 +02:00
nm-meta-setting-access.h cli: add additional user-data argument to get_fcn() 2018-07-09 15:43:55 +02:00
nm-meta-setting-desc.c cli: add additional user-data argument to get_fcn() 2018-07-09 15:43:55 +02:00
nm-meta-setting-desc.h cli: add additional user-data argument to get_fcn() 2018-07-09 15:43:55 +02:00
nm-polkit-listener.c cli: rework callbacks in NMPolkitListener to use one vtable structure 2018-04-16 16:03:14 +02:00
nm-polkit-listener.h all: remove consecutive empty lines 2018-04-30 16:24:52 +02:00
nm-secret-agent-simple.c clients: fix using hints for 802-1x secret request 2018-06-24 14:15:42 +02:00
nm-secret-agent-simple.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nm-vpn-helpers.c all: use the elvis operator wherever possible 2018-05-10 14:36:58 +02:00
nm-vpn-helpers.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
settings-docs.h.in clients/docs: fix generated documentation for Open vSwitch 2018-06-29 09:58:01 +02:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00