NetworkManager/src/dns-manager
Dan Winship da8d79f1c5 core: drop all remaining core-internal error domains
A number of classes in core had their own error domains that aren't
really necessary.

In the case of NMDcbError, NMDhcpManagerError, NMDnsManagerError,
NMDnsmasqManagerError, NMPppManagerError, and NMSessionMonitorError,
most of the codes they defined weren't even being used, and at any
rate, the errors were always returned into contexts where they would
just have their message extracted and then get thrown away without
anyone ever looking at the domain or code. So all uses of those
domains can just be replaced with NM_MANAGER_ERROR_FAILED without any
loss of information.

NMAuthManagerError only had 1 error code, and it just indicated
"something went wrong", so it can be replaced with
NM_MANAGER_ERROR_FAILED without loss of information.
(nm-auth-manager.c has also been fixed to return
NM_MANAGER_ERROR_FAILED when the CheckAuthorization D-Bus call fails,
rather than returning whatever error domain/code the D-Bus call
returned.)

NMVpnManagerError used 2 of its 4 error codes, and they could actually
end up getting returned across D-Bus in some cases. But there are
NMManagerError codes that are semantically similar enough to make the
NMVpnManagerError ones unnecessary.
2014-10-22 08:29:10 -04:00
..
nm-dns-dnsmasq.c core: consolidate helper progam searching (bgo #734131) 2014-09-11 12:11:56 -05:00
nm-dns-dnsmasq.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dns-manager.c core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-dns-manager.h core: drop all remaining core-internal error domains 2014-10-22 08:29:10 -04:00
nm-dns-plugin.c core: use nm_utils_kill_child_async() and nm_utils_kill_child_sync() 2014-07-10 16:25:10 +02:00
nm-dns-plugin.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dns-unbound.c dns: preliminary support for unbound (bgo #699810) 2014-05-30 21:29:26 +02:00
nm-dns-unbound.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00
nm-dns-utils.c core: fill in nm-types.h, clean out other headers 2014-07-23 10:56:26 -04:00
nm-dns-utils.h all: fix up multiple-include-guard defines 2014-08-16 10:17:14 -04:00