X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flibsystemd-bus%2Fkdbus.h;h=838a087853fe9f15638f60520753eb31302d47dc;hp=564072eaf63c75dc24de383918cc9a5dc584a662;hb=537220d9102a12aa4a65d5479130ac2cdb323fff;hpb=2377ae1ff6ee2987a300d4df17320c2d9c61d23d diff --git a/src/libsystemd-bus/kdbus.h b/src/libsystemd-bus/kdbus.h index 564072eaf..838a08785 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 */ @@ -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 {