sd-bus: add support for new InteractiveAuthorizationRequired error from dbus spec

This commit is contained in:
Lennart Poettering 2014-10-28 14:59:08 +01:00
parent fccabcb48d
commit 1b3a797f6f
2 changed files with 36 additions and 33 deletions

View file

@ -24,6 +24,7 @@ org.freedesktop.DBus.Error.NotSupported, ENOTSUP
org.freedesktop.DBus.Error.LimitsExceeded, ENOBUFS
org.freedesktop.DBus.Error.AccessDenied, EACCES
org.freedesktop.DBus.Error.AuthFailed, EACCES
org.freedesktop.DBus.Error.InteractiveAuthorizationRequired EACCES
org.freedesktop.DBus.Error.NoServer, EHOSTDOWN
org.freedesktop.DBus.Error.Timeout, ETIMEDOUT
org.freedesktop.DBus.Error.NoNetwork, ENONET

View file

@ -96,6 +96,8 @@ enum {
#define SD_BUS_ERROR_INCONSISTENT_MESSAGE "org.freedesktop.DBus.Error.InconsistentMessage"
#define SD_BUS_ERROR_MATCH_RULE_NOT_FOUND "org.freedesktop.DBus.Error.MatchRuleNotFound"
#define SD_BUS_ERROR_MATCH_RULE_INVALID "org.freedesktop.DBus.Error.MatchRuleInvalid"
#define SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED \
"org.freedesktop.DBus.Error.InteractiveAuthorizationRequired"
_SD_END_DECLARATIONS;