summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-kernel.h
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-11-29 17:21:39 +0100
committerDaniel Mack <zonque@gmail.com>2013-11-29 22:01:34 +0100
commit87b522ae1936c4da9446ee2e05f7b4560ad549cd (patch)
tree7685695aeda7edc92b41791cf61b6c6611f11dde /src/libsystemd-bus/bus-kernel.h
parentc931748d20ba75e062b6198721970c6871bf23da (diff)
libsystemd-bus: add sd_bus_translate_attach_flags()
Factor out code from sd_bus_negotiate_attach_creds() to a generic translate function, so it can be used from other places.
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.h')
-rw-r--r--src/libsystemd-bus/bus-kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-kernel.h b/src/libsystemd-bus/bus-kernel.h
index 779a7de2eb..18ded4952a 100644
--- a/src/libsystemd-bus/bus-kernel.h
+++ b/src/libsystemd-bus/bus-kernel.h
@@ -70,3 +70,4 @@ 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);
+int kdbus_translate_attach_flags(uint64_t sd_bus_flags, uint64_t *kdbus_flags);