NetworkManager/clients/common
Thomas Haller 347118138d cli: rework callbacks in NMPolkitListener to use one vtable structure
Instead of setting multiple callbacks, just let the user set one
vtable with callbacks. Usually, GObject would implement this via
signals. While that makes sense for public objects, for example to
work better with GIR and allow intercepting the signal, this is
overkill for our internal type. And NMPolkitListener already did
not make use of signals, for good reason.

Instead of passing multiple callbacks, must pass one structure with
callback pointers.

Also, extend the signature of the callbacks to always contain a
@self argument and a @user_data.
2018-04-16 16:03:14 +02:00
..
tests build: meson: add prefix to test names 2018-04-12 09:21:10 +02:00
meson.build build: Rename settings-docs.c file 2018-01-12 09:39:06 +01:00
nm-client-utils.c all: unify spelling of translators hint in source code 2018-04-13 10:00:09 +02:00
nm-client-utils.h clients/cli: use a nicer password prompt 2017-12-18 14:47:37 +01:00
nm-meta-setting-access.c clients: change nm_meta_abstract_info_get() to report defaults 2018-04-13 17:02:55 +02:00
nm-meta-setting-access.h clients: change nm_meta_abstract_info_get() to report defaults 2018-04-13 17:02:55 +02:00
nm-meta-setting-desc.c clients: use nm_utils_strv_make_deep_copied() to deep copy const strv array 2018-04-13 17:02:55 +02:00
nm-meta-setting-desc.h clients: change nm_meta_abstract_info_get() to report defaults 2018-04-13 17:02: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 cli: rework callbacks in NMPolkitListener to use one vtable structure 2018-04-16 16:03:14 +02:00
nm-secret-agent-simple.c clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nm-secret-agent-simple.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +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 clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
settings-docs.h.in man: drop duplicate text from dhcp-client-id description 2018-03-06 15:25:48 +01:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00