chiark / gitweb /
sd-bus: sync kdbus.h (ABI break)
authorDaniel Mack <daniel@zonque.org>
Tue, 21 Oct 2014 17:19:44 +0000 (19:19 +0200)
committerDaniel Mack <daniel@zonque.org>
Tue, 21 Oct 2014 17:19:44 +0000 (19:19 +0200)
commitbc75205c773313a38a6958a6905a99bd56029196
treef0031e5b1d85d55b2de6abe50f75d866dc5f4990
parent14f27b4e3b009d10bb9a3b43b74585c73a7c7626
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.
src/bus-proxyd/bus-proxyd.c
src/libsystemd/sd-bus/bus-control.c
src/libsystemd/sd-bus/bus-kernel.c
src/libsystemd/sd-bus/kdbus.h