chiark / gitweb /
bus: make sure we check for "incompatible" flags negotiated with kernel kdbus
[elogind.git] / src / systemd / sd-bus.h
index 648b955cf04ccde2a381a163b28657d7c8b78594..2598d7ef97012eb92e91abd8dc424953616afd96 100644 (file)
@@ -42,7 +42,7 @@ typedef struct sd_bus_creds sd_bus_creds;
 typedef struct {
         const char *name;
         const char *message;
-        int need_free;
+        int _need_free;
 } sd_bus_error;
 
 /* Flags */
@@ -72,7 +72,7 @@ enum {
         SD_BUS_CREDS_AUDIT_LOGIN_UID  = 1ULL << 21,
         SD_BUS_CREDS_UNIQUE_NAME      = 1ULL << 22,
         SD_BUS_CREDS_WELL_KNOWN_NAMES = 1ULL << 23,
-        _SD_BUS_CREDS_MAX             = (1ULL << 24) -1,
+        _SD_BUS_CREDS_ALL             = (1ULL << 24) -1,
 };
 
 /* Callbacks */