chiark / gitweb /
bus: bus_open_user_systemd() fall back to bus if runtime dir is not set
[elogind.git] / src / libsystemd-bus / kdbus.h
index 564072eaf63c75dc24de383918cc9a5dc584a662..838a087853fe9f15638f60520753eb31302d47dc 100644 (file)
@@ -103,6 +103,7 @@ enum {
        /* Filled in by kernelspace */
        _KDBUS_ITEM_ATTACH_BASE = 0x400,
        KDBUS_ITEM_NAMES        = 0x400,/* NUL separated string list with well-known names of source */
+       KDBUS_ITEM_STARTER_NAME,        /* Only used in HELLO for starter connection */
        KDBUS_ITEM_TIMESTAMP,           /* .timestamp */
 
        /* when appended to a message, the following items refer to the sender */
@@ -367,7 +368,6 @@ struct kdbus_name_list {
 struct kdbus_cmd_name_info {
        __u64 size;
        __u64 flags;                    /* query flags */
-       __u64 attach_flags;             /* which meta data payload to attach */
        __u64 id;                       /* either ID, or 0 and name follows */
        __u64 offset;                   /* returned offset in the caller's buffer */
        char name[0];
@@ -401,10 +401,13 @@ struct kdbus_cmd_match {
 };
 
 /* KDBUS_CMD_MONITOR */
+enum {
+       KDBUS_MONITOR_ENABLE            = 1 <<  0,
+};
+
 struct kdbus_cmd_monitor {
        __u64 id;               /* We allow setting the monitor flag of other peers */
-       unsigned int enable;    /* A boolean to enable/disable monitoring */
-       __u32 __pad;
+       __u64 flags;
 };
 
 enum {