NetworkManager/src/dns
Thomas Haller 5d86f60526 dns: use GDBusConnection instead of GDBusProxy in "nm-dns-systemd-resolved.c"
The proxy does nothing for us, except overhead.

We can directly subscribe to "NameOwnerChanged" signals on the
GDBusConnection. Also, instead of asynchronously creating the
GDBusProxy, asynchronously call "GetNameOwner". That's what the
proxy does anyway.

GDBusConnection is actually a decent API. We don't need another layer on
top of that, for functionality that we don't use.

Also, don't use G_BUS_TYPE_SYSTEM, but use the GDBusConnection that
also the bus-manager uses. For all practical purposes, that is the
connection was want to use also in NMDnsSystemdResolved.
2019-04-09 20:40:18 +02:00
..
nm-dns-dnsmasq.c dns: fix updating resolv.conf after dnsmasq process dies 2019-01-14 10:02:48 +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 connectivity: avoid D-Bus activating systemd-resolved when we know it's not used 2019-04-09 20:40:18 +02:00
nm-dns-manager.h connectivity: honor "main.systemd-resolved" setting to not resolve names first 2018-12-11 09:23:47 +01:00
nm-dns-plugin.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-dns-plugin.h all: don't use gchar/gshort/gint/glong but C types 2018-07-11 12:02:06 +02:00
nm-dns-systemd-resolved.c dns: use GDBusConnection instead of GDBusProxy in "nm-dns-systemd-resolved.c" 2019-04-09 20:40:18 +02:00
nm-dns-systemd-resolved.h connectivity: avoid D-Bus activating systemd-resolved when we know it's not used 2019-04-09 20:40:18 +02:00
nm-dns-unbound.c build: rename DNSSEC_TRIGGER_SCRIPT to DNSSEC_TRIGGER_PATH 2018-09-13 14:35:32 +02:00
nm-dns-unbound.h build: rename "src/dns-manager" to "src/dns" 2016-11-21 14:07:47 +01:00