diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-23 18:36:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-23 19:15:27 +0100 |
commit | 3c70e3bb022f0de3317f3600c9366a2f4597339e (patch) | |
tree | f8cd5021f6f4bc2dd8fe8b6d777ca85d9f6fb896 /src/core/bus-endpoint.h | |
parent | 3e0a2048978fcc7aff00797bdb876b2592c2fbc7 (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/core/bus-endpoint.h')
-rw-r--r-- | src/core/bus-endpoint.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/bus-endpoint.h b/src/core/bus-endpoint.h index 2c5415f34e..4a31f4c4be 100644 --- a/src/core/bus-endpoint.h +++ b/src/core/bus-endpoint.h @@ -24,8 +24,8 @@ typedef struct BusEndpoint BusEndpoint; typedef struct BusEndpointPolicy BusEndpointPolicy; -#include "bus-common.h" #include "hashmap.h" +#include "bus-policy.h" struct BusEndpointPolicy { char *name; @@ -40,3 +40,5 @@ int bus_endpoint_new(BusEndpoint **ep); void bus_endpoint_free(BusEndpoint *endpoint); int bus_endpoint_add_policy(BusEndpoint *ep, const char *name, BusPolicyAccess access); + +int bus_kernel_set_endpoint_policy(int fd, uid_t uid, BusEndpoint *ep); |