chiark / gitweb /
libsystemd-bus: sync kdbus.h
authorDaniel Mack <zonque@gmail.com>
Sat, 30 Nov 2013 18:23:16 +0000 (19:23 +0100)
committerDaniel Mack <zonque@gmail.com>
Sat, 30 Nov 2013 18:23:16 +0000 (19:23 +0100)
src/libsystemd-bus/kdbus.h

index 564072eaf63c75dc24de383918cc9a5dc584a662..23d3c13668b5a859b414b0609fa26016b27347e9 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 */
        /* 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 */
        KDBUS_ITEM_TIMESTAMP,           /* .timestamp */
 
        /* when appended to a message, the following items refer to the sender */
@@ -401,10 +402,13 @@ struct kdbus_cmd_match {
 };
 
 /* KDBUS_CMD_MONITOR */
 };
 
 /* KDBUS_CMD_MONITOR */
+enum {
+       KDBUS_MONITOR_ENABLE            = 1 <<  0,
+};
+
 struct kdbus_cmd_monitor {
        __u64 id;               /* We allow setting the monitor flag of other peers */
 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 {
 };
 
 enum {