summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-kernel.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-23 18:36:04 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-23 19:15:27 +0100
commit3c70e3bb022f0de3317f3600c9366a2f4597339e (patch)
treef8cd5021f6f4bc2dd8fe8b6d777ca85d9f6fb896 /src/libsystemd/sd-bus/bus-kernel.h
parent3e0a2048978fcc7aff00797bdb876b2592c2fbc7 (diff)
core: rearrange code so that libsystemd/sd-bus/ does not include header files from core
Stuff in src/shared or src/libsystemd should *never* include code from src/core or any of the tools, so don't do that here either. It's not OK!
Diffstat (limited to 'src/libsystemd/sd-bus/bus-kernel.h')
-rw-r--r--src/libsystemd/sd-bus/bus-kernel.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsystemd/sd-bus/bus-kernel.h b/src/libsystemd/sd-bus/bus-kernel.h
index 2152f62d12..7b1e9ef981 100644
--- a/src/libsystemd/sd-bus/bus-kernel.h
+++ b/src/libsystemd/sd-bus/bus-kernel.h
@@ -23,8 +23,6 @@
#include <stdbool.h>
-#include "busname.h"
-#include "bus-endpoint.h"
#include "sd-bus.h"
#define KDBUS_ITEM_NEXT(item) \
@@ -67,13 +65,10 @@ int bus_kernel_write_message(sd_bus *bus, sd_bus_message *m, bool hint_sync_call
int bus_kernel_read_message(sd_bus *bus, bool hint_priority, int64_t priority);
int bus_kernel_open_bus_fd(const char *bus, char **path);
-int bus_kernel_make_starter(int fd, const char *name, bool activating, bool accept_fd, BusNamePolicy *policy, BusPolicyAccess world_policy);
int bus_kernel_create_bus(const char *name, bool world, char **s);
int bus_kernel_create_endpoint(const char *bus_name, const char *ep_name, char **path);
-int bus_kernel_set_endpoint_policy(int fd, uid_t uid, BusEndpoint *ep);
-
int bus_kernel_pop_memfd(sd_bus *bus, void **address, size_t *mapped, size_t *allocated);
void bus_kernel_push_memfd(sd_bus *bus, int fd, void *address, size_t mapped, size_t allocated);