summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-bus/bus-kernel.h
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-03-07 17:29:01 +0100
committerDaniel Mack <zonque@gmail.com>2014-03-07 19:14:05 +0100
commit1683342af1fc85e75ba21264bbcedc26aef0fa39 (patch)
tree13cc448ac5d6fbf2e5646495ed530fc41fb12f71 /src/libsystemd/sd-bus/bus-kernel.h
parentsd-bus: sync kdbus.h (ABI break) (diff)
downloadsystemd-1683342af1fc85e75ba21264bbcedc26aef0fa39.tar.xz
systemd-1683342af1fc85e75ba21264bbcedc26aef0fa39.zip
sd-bus: add support for policy upload on activator connections
Activator connections may upload policy when registering to the bus. This patch contains code to translate between BusNamePolicy objects and the kdbus specific items.
Diffstat (limited to '')
-rw-r--r--src/libsystemd/sd-bus/bus-kernel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-kernel.h b/src/libsystemd/sd-bus/bus-kernel.h
index 8db418a14d..c4722cbac6 100644
--- a/src/libsystemd/sd-bus/bus-kernel.h
+++ b/src/libsystemd/sd-bus/bus-kernel.h
@@ -23,6 +23,7 @@
#include <stdbool.h>
+#include "busname.h"
#include "sd-bus.h"
#define KDBUS_ITEM_NEXT(item) \
@@ -65,7 +66,7 @@ int bus_kernel_read_message(sd_bus *bus, bool hint_priority, int64_t priority);
int bus_kernel_create_bus(const char *name, bool world, char **s);
int bus_kernel_create_domain(const char *name, char **s);
-int bus_kernel_create_starter(const char *bus, const char *name);
+int bus_kernel_create_starter(const char *bus, const char *name, BusNamePolicy *policy);
int bus_kernel_create_monitor(const char *bus);
int bus_kernel_pop_memfd(sd_bus *bus, void **address, size_t *mapped, size_t *allocated);