NetworkManager/src
Thomas Haller eae69e33dd core: extend nm_shutdown_wait_obj_*() to support notification via a GCancellable
Now nm_shutdown_wait_obj_*() supports two styles:

 - NM_SHUTDOWN_WAIT_TYPE_OBJECT: this just registers a weak pointer
   on a source GObject. As long as the object is not destroyed
   (and the object is not unregistered), the shutdown gets blocked.

 - now new is NM_SHUTDOWN_WAIT_TYPE_CANCELLABLE: this source object
   is a GCancellable, and during shutdown, the system will cancel
   the instances to notify about the shutdown. That aside, the GCancellable
   is tracked exactly like a regular NM_SHUTDOWN_WAIT_TYPE_OBJECT (meaning:
   a weak pointer is registered and shutdown gets delayed as long as the instance
   lives).

As the rest of the shutdown, it's not yet implemented on the shutdown-side.
What is now possible is to register such cancellables, so that users can make
use of this API before we fix shutdown. We cannot fix it all at the same time,
so first users must be ready for this approach.
2019-09-22 16:05:50 +02:00
..
devices core: add and use NM_MANAGER_GET macro 2019-09-22 16:05:50 +02:00
dhcp dhcp: nettools: drop useless "options" GHashTable checks 2019-09-13 18:44:32 +02:00
dns all: SPDX header conversion 2019-09-10 11:19:56 +02:00
dnsmasq all: SPDX header conversion 2019-09-10 11:19:56 +02:00
initrd all: SPDX header conversion 2019-09-10 11:19:56 +02:00
ndisc all: SPDX header conversion 2019-09-10 11:19:56 +02:00
platform all: SPDX header conversion 2019-09-10 11:19:56 +02:00
ppp core: extend nm_shutdown_wait_obj_*() to support notification via a GCancellable 2019-09-22 16:05:50 +02:00
settings core: extend nm_shutdown_wait_obj_*() to support notification via a GCancellable 2019-09-22 16:05:50 +02:00
supplicant wifi: fix the supplicant config test 2019-09-20 16:24:40 +02:00
systemd all: SPDX header conversion 2019-09-10 11:19:56 +02:00
tests all: SPDX header conversion 2019-09-10 11:19:56 +02:00
vpn all: SPDX header conversion 2019-09-10 11:19:56 +02:00
main-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
main-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
main.c libnm: export reload flags 2019-09-17 09:30:18 +02:00
meson.build build: fix meson warning about wrong custom target argument 2019-08-05 16:05:30 +02:00
NetworkManagerUtils.c core: extend nm_shutdown_wait_obj_*() to support notification via a GCancellable 2019-09-22 16:05:50 +02:00
NetworkManagerUtils.h core: extend nm_shutdown_wait_obj_*() to support notification via a GCancellable 2019-09-22 16:05:50 +02:00
nm-act-request.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-act-request.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-active-connection.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-active-connection.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-audit-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-audit-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-subject.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-subject.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-auth-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-checkpoint-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-checkpoint-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-checkpoint.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-checkpoint.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-config-data.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-config-data.h libnm: export reload flags 2019-09-17 09:30:18 +02:00
nm-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-connectivity.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-connectivity.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-core-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-core-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-manager.c shared,all: add and use DBUS_INTERFACE_OBJECT_MANAGER define 2019-09-22 16:05:50 +02:00
nm-dbus-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-object.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-object.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-utils.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dbus-utils.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dcb.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dcb.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dhcp4-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dhcp4-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dhcp6-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dhcp6-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dispatcher.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-dispatcher.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-firewall-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-firewall-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-hostname-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-hostname-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-iface-helper.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-ip4-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-ip4-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-ip6-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-ip6-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-keep-alive.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-keep-alive.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-logging.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-logging.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-manager.c libnm: export reload flags 2019-09-17 09:30:18 +02:00
nm-manager.h core: add and use NM_MANAGER_GET macro 2019-09-22 16:05:50 +02:00
nm-netns.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-netns.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-pacrunner-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-pacrunner-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-policy.c core: add and use NM_MANAGER_GET macro 2019-09-22 16:05:50 +02:00
nm-policy.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-proxy-config.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-proxy-config.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-rfkill-manager.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-rfkill-manager.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-session-monitor.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-session-monitor.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-sleep-monitor.c all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-sleep-monitor.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-test-utils-core.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
nm-types.h all: SPDX header conversion 2019-09-10 11:19:56 +02:00
org.freedesktop.NetworkManager.conf wifi-p2p: rename Wi-Fi P2P 2019-02-01 17:02:57 +01:00