summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-kernel.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-26 03:08:15 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-26 03:08:15 +0100
commitf2769777c8e8ad32b0b19cd540d2f742bda4457f (patch)
treece52d80144163a3f8271b4d38e4a187fe06d8bd9 /src/libsystemd-bus/bus-kernel.h
parent442e2def7938435481eed34cd7331e34ebc8d9e0 (diff)
bus: make system bus kdbus node world-accessible
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.h')
-rw-r--r--src/libsystemd-bus/bus-kernel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-kernel.h b/src/libsystemd-bus/bus-kernel.h
index 67690f8dee..2aba0bbe0a 100644
--- a/src/libsystemd-bus/bus-kernel.h
+++ b/src/libsystemd-bus/bus-kernel.h
@@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
+
#include "sd-bus.h"
#define KDBUS_ITEM_NEXT(item) \
@@ -61,7 +63,7 @@ int bus_kernel_take_fd(sd_bus *b);
int bus_kernel_write_message(sd_bus *bus, sd_bus_message *m);
int bus_kernel_read_message(sd_bus *bus);
-int bus_kernel_create_bus(const char *name, char **s);
+int bus_kernel_create_bus(const char *name, bool world, char **s);
int bus_kernel_create_namespace(const char *name, char **s);
int bus_kernel_create_starter(const char *bus, const char *name);
int bus_kernel_create_monitor(const char *bus);