X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibsystemd-bus%2Fkdbus.h;h=23d3c13668b5a859b414b0609fa26016b27347e9;hb=626851be97b4332fc0401d754c81ae7bbc0f5dc4;hp=564072eaf63c75dc24de383918cc9a5dc584a662;hpb=2377ae1ff6ee2987a300d4df17320c2d9c61d23d;p=elogind.git diff --git a/src/libsystemd-bus/kdbus.h b/src/libsystemd-bus/kdbus.h index 564072eaf..23d3c1366 100644 --- a/src/libsystemd-bus/kdbus.h +++ b/src/libsystemd-bus/kdbus.h @@ -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 */ @@ -401,10 +402,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 {