X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-bus-protocol.h;h=623cee0c502d89e9376f611c7d5f92ad50845b86;hb=2027bfc6205de5f5313609fe0ca7e0649640219b;hp=b2db7e46b8f8b7bbb4053e64dcfd23222f4785ec;hpb=0461f8cdc1d7b4afee2f2ff40fcaa3c7e26c662c;p=elogind.git diff --git a/src/systemd/sd-bus-protocol.h b/src/systemd/sd-bus-protocol.h index b2db7e46b..623cee0c5 100644 --- a/src/systemd/sd-bus-protocol.h +++ b/src/systemd/sd-bus-protocol.h @@ -1,5 +1,3 @@ -/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ - #ifndef foosdbusprotocolhfoo #define foosdbusprotocolhfoo @@ -22,8 +20,6 @@ along with systemd; If not, see . ***/ -#include - #include "_sd-common.h" _SD_BEGIN_DECLARATIONS; @@ -63,15 +59,7 @@ enum { SD_BUS_TYPE_STRUCT_END = ')', SD_BUS_TYPE_DICT_ENTRY = 'e', /* not actually used in signatures */ SD_BUS_TYPE_DICT_ENTRY_BEGIN = '{', - SD_BUS_TYPE_DICT_ENTRY_END = '}', -}; - -/* RequestName parameters */ - -enum { - SD_BUS_NAME_ALLOW_REPLACEMENT = 1, - SD_BUS_NAME_REPLACE_EXISTING = 2, - SD_BUS_NAME_DO_NOT_QUEUE = 4 + SD_BUS_TYPE_DICT_ENTRY_END = '}' }; /* Well-known errors. Note that this is only a sanitized subset of the @@ -104,6 +92,10 @@ enum { #define SD_BUS_ERROR_UNIX_PROCESS_ID_UNKNOWN "org.freedesktop.DBus.Error.UnixProcessIdUnknown" #define SD_BUS_ERROR_INVALID_SIGNATURE "org.freedesktop.DBus.Error.InvalidSignature" #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;