sd-bus: add support for new InteractiveAuthorizationRequired error from dbus spec
This commit is contained in:
parent
fccabcb48d
commit
1b3a797f6f
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue