diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-20 23:25:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-20 23:26:11 +0100 |
commit | ae095f860593c87d217773976cfe5f89a6993c89 (patch) | |
tree | 5a014286ac5088e72e2044faa028962774ebcdf9 /src/libsystemd-bus/bus-kernel.h | |
parent | 5a884f93fdb2a6f89605e44a0e7f4d2db5470b5b (diff) |
bus: wrap KDBUS_CMD_BYEBYE with a high-level call sd_bus_try_close()
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 0a825d7b8e..67690f8dee 100644 --- a/src/libsystemd-bus/bus-kernel.h +++ b/src/libsystemd-bus/bus-kernel.h @@ -75,3 +75,5 @@ int bus_kernel_parse_unique_name(const char *s, uint64_t *id); int kdbus_translate_request_name_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags); int kdbus_translate_attach_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags); + +int bus_kernel_try_close(sd_bus *bus); |