diff options
author | Daniel Mack <daniel@zonque.org> | 2014-10-02 17:12:13 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-10-02 17:15:39 +0200 |
commit | 995a1063dbdc94e2c0846216363636e8ebbc60f9 (patch) | |
tree | 5055075eaccdf9fe7466ecff977712b03fa1b99c | |
parent | 893e72da6b27c21b102e1589276e651e9e4f591c (diff) |
sd-bus: sync kdbus.h (ABI break!)
struct kdbus_cmd_match got a flags field, which systemd currently makes no
use of.
-rw-r--r-- | src/libsystemd/sd-bus/kdbus.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/kdbus.h b/src/libsystemd/sd-bus/kdbus.h index c97994974b..801125946b 100644 --- a/src/libsystemd/sd-bus/kdbus.h +++ b/src/libsystemd/sd-bus/kdbus.h @@ -714,6 +714,16 @@ struct kdbus_cmd_update { } __attribute__((aligned(8))); /** + * enum kdbus_cmd_match_flags - flags to control the KDBUS_CMD_MATCH_ADD ioctl + * @KDBUS_MATCH_REPLACE: If entries with the supplied cookie already + * exists, remove them before installing the new + * matches. + */ +enum kdbus_cmd_match_flags { + KDBUS_MATCH_REPLACE = 1ULL << 0, +}; + +/** * struct kdbus_cmd_match - struct to add or remove matches * @size: The total size of the struct * @cookie: Userspace supplied cookie. When removing, the cookie @@ -726,6 +736,7 @@ struct kdbus_cmd_update { struct kdbus_cmd_match { __u64 size; __u64 cookie; + __u64 flags; struct kdbus_item items[0]; } __attribute__((aligned(8))); |