diff options
author | Daniel Mack <daniel@zonque.org> | 2014-10-21 19:19:44 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-10-21 19:19:44 +0200 |
commit | bc75205c773313a38a6958a6905a99bd56029196 (patch) | |
tree | f0031e5b1d85d55b2de6abe50f75d866dc5f4990 /src/libsystemd/sd-bus/bus-control.c | |
parent | 14f27b4e3b009d10bb9a3b43b74585c73a7c7626 (diff) |
sd-bus: sync kdbus.h (ABI break)
In kdbus.h, the following details changed:
* All commands gained a 'kernel_flags' field to report the flags supported
by the driver. Before, this was done in the 'flags' field in a
bidirectional way, which turned out to be a problem for the code in
sd-bus, as many parts of it reuse the same ioctl struct more than once
and consider them to be owned by userspace.
* Name listings are now returned by a new struct instead of reusing struct
kdbus_cmd_name for that matter. This way, we don't add more unneeded
fields to it and make the API cleaner.
* 'conn_flags' was renamed to 'flags' in struct kdbus_cmd_hello to make
the API a bit more unified.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-control.c')
-rw-r--r-- | src/libsystemd/sd-bus/bus-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/sd-bus/bus-control.c index fa321d5315..5ff746c6fb 100644 --- a/src/libsystemd/sd-bus/bus-control.c +++ b/src/libsystemd/sd-bus/bus-control.c @@ -243,7 +243,7 @@ static int kernel_cmd_free(sd_bus *bus, uint64_t offset) static int kernel_get_list(sd_bus *bus, uint64_t flags, char ***x) { struct kdbus_cmd_name_list cmd = {}; struct kdbus_name_list *name_list; - struct kdbus_cmd_name *name; + struct kdbus_name_info *name; uint64_t previous_id = 0; int r; |