summaryrefslogtreecommitdiff
path: root/src/core/bus-endpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bus-endpoint.h')
-rw-r--r--src/core/bus-endpoint.h4
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);