chiark / gitweb /
bus: update kdbus.h
[elogind.git] / src / libsystemd-bus / kdbus.h
index 4604eb32b78fb4e34cb7a03db019f82da3a94e6e..9b4163802c0534c0592f1fbcc110d627537b1e98 100644 (file)
@@ -237,8 +237,9 @@ enum {
        KDBUS_HELLO_STARTER             =  1 <<  0,
        KDBUS_HELLO_ACCEPT_FD           =  1 <<  1,
 
-       /* The following have an effect on directed messages only --
-        * not for broadcasts */
+       /* subscription for metadata to attach */
+       KDBUS_HELLO_ATTACH_TIMESTAMP    =  1 <<  8,
+       KDBUS_HELLO_ATTACH_CREDS        =  1 <<  9,
        KDBUS_HELLO_ATTACH_COMM         =  1 << 10,
        KDBUS_HELLO_ATTACH_EXE          =  1 << 11,
        KDBUS_HELLO_ATTACH_CMDLINE      =  1 << 12,
@@ -283,12 +284,9 @@ enum {
 enum {
        _KDBUS_MAKE_NULL,
        KDBUS_MAKE_NAME,
-       KDBUS_MAKE_CGROUP,      /* the cgroup hierarchy ID for which to attach
-                                * cgroup membership paths to messages.
-                                * FIXME: remove, use *the* hierarchy */
        KDBUS_MAKE_CRED,        /* allow translator services which connect
                                 * to the bus on behalf of somebody else,
-                                * allow specifiying the credentials of the
+                                * allow specifying the credentials of the
                                 * client to connect on behalf on. Needs
                                 * privileges */
 };
@@ -348,8 +346,13 @@ struct kdbus_cmd_name {
        char name[0];
 };
 
+enum {
+       KDBUS_NAME_LIST_UNIQUE_NAMES            = 1 <<  0,
+};
+
 struct kdbus_cmd_names {
        __u64 size;
+       __u64 flags;
        struct kdbus_cmd_name names[0];
 };