summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-common-errors.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-19 17:16:12 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-19 18:37:45 +0100
commit97e5d693c04e50605d438af1c8a965fd2963bbe9 (patch)
treee7e3aeb0fb22c0bca7cc22c227f7a127cd611a8e /src/libsystemd/sd-bus/bus-common-errors.h
parent9a81c76848abcb0d6e209ec3959b784580488ac0 (diff)
resolved: add bus API for configuring per-link DNS settings
This is useful for alternative network management solutions (such as NetworkManager) to push DNS configuration data into resolved. The calls will fail should networkd already have taken possesion of a link, so that the bus API is only available if we don't get the data from networkd.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-common-errors.h')
-rw-r--r--src/libsystemd/sd-bus/bus-common-errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-common-errors.h b/src/libsystemd/sd-bus/bus-common-errors.h
index 7a5f6cda87..e93b6ac448 100644
--- a/src/libsystemd/sd-bus/bus-common-errors.h
+++ b/src/libsystemd/sd-bus/bus-common-errors.h
@@ -77,6 +77,8 @@
#define BUS_ERROR_DNSSEC_FAILED "org.freedesktop.resolve1.DnssecFailed"
#define BUS_ERROR_NO_TRUST_ANCHOR "org.freedesktop.resolve1.NoTrustAnchor"
#define BUS_ERROR_RR_TYPE_UNSUPPORTED "org.freedesktop.resolve1.ResourceRecordTypeUnsupported"
+#define BUS_ERROR_NO_SUCH_LINK "org.freedesktop.resolve1.NoSuchLink"
+#define BUS_ERROR_LINK_BUSY "org.freedesktop.resolve1.LinkBusy"
#define _BUS_ERROR_DNS "org.freedesktop.resolve1.DnsError."
#define BUS_ERROR_NO_SUCH_TRANSFER "org.freedesktop.import1.NoSuchTransfer"