NetworkManager/src/dns
Thomas Haller 57ab9fd60f core/dbus: rework creating numbered D-Bus export path by putting counter into class
I dislike the static hash table to cache the integer counter for
numbered paths. Let's instead cache the counter at the class instance
itself -- since the class contains the information how the export
path should be exported.

However, we cannot use a plain integer field inside the class structure,
because the class is copied between derived classes. For example,
NMDeviceEthernet and NMDeviceBridge both get a copy of the NMDeviceClass
instance. Hence, the class doesn't contain the counter directly, but
a pointer to one counter that can be shared between sibling classes.
2018-03-13 11:29:18 +01:00
..
nm-dns-dnsmasq.c core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-dns-dnsmasq.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-manager.c core/dbus: rework creating numbered D-Bus export path by putting counter into class 2018-03-13 11:29:18 +01:00
nm-dns-manager.h core: rework tracking config in dns-manager to use ifindex 2018-01-09 14:24:54 +01:00
nm-dns-plugin.c core: rework tracking config in dns-manager to use ifindex 2018-01-09 14:24:54 +01:00
nm-dns-plugin.h core: rework tracking config in dns-manager to use ifindex 2018-01-09 14:24:54 +01:00
nm-dns-systemd-resolved.c core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API 2018-03-12 18:37:08 +01:00
nm-dns-systemd-resolved.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00
nm-dns-unbound.c core: rework tracking config in dns-manager to use ifindex 2018-01-09 14:24:54 +01:00
nm-dns-unbound.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00