diff options
author | Daniel Mack <zonque@gmail.com> | 2013-11-26 16:45:50 +0100 |
---|---|---|
committer | Daniel Mack <zonque@gmail.com> | 2013-11-29 14:06:50 +0100 |
commit | 0253ddccbb60918d177c13aa6a70c5e1fc9a7e78 (patch) | |
tree | 73f56fa58e4cc963c60d1c1a1363566e6247ee95 /src/libsystemd-bus/bus-kernel.h | |
parent | b6bd53c1ee90338ceb83bf81cc11e81560561204 (diff) |
libsystemd-bus: kernel: add sd_bus_kernel_translate_request_name_flags
Flags used to request a name from kdbus are not identical to what DBus
and sd_bus use internally. Introduce a simple function to do the
translation for us. It's factored out to a separate function so the
dbus-driver instance can make use of it as well.
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.h')
-rw-r--r-- | src/libsystemd-bus/bus-kernel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-kernel.h b/src/libsystemd-bus/bus-kernel.h index 69df4f4e9e..779a7de2eb 100644 --- a/src/libsystemd-bus/bus-kernel.h +++ b/src/libsystemd-bus/bus-kernel.h @@ -68,3 +68,5 @@ void bus_kernel_push_memfd(sd_bus *bus, int fd, void *address, size_t size); void bus_kernel_flush_memfd(sd_bus *bus); int bus_kernel_parse_unique_name(const char *s, uint64_t *id); + +int sd_bus_kernel_translate_request_name_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags); |