summaryrefslogtreecommitdiff
path: root/bus/policy.h
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2012-03-04 14:36:56 +0000
committerAlban Crequy <alban.crequy@collabora.co.uk>2012-03-04 14:36:56 +0000
commit5670dc6cf722ea552ea4e41f5742ec447f6cddf8 (patch)
tree87f031ded2b72d3d2b8c42c8a95c1f50636f4299 /bus/policy.h
parent915b71be4423648c947357fdac65446cee92450d (diff)
downloaddbus-5670dc6cf722ea552ea4e41f5742ec447f6cddf8.tar.gz
config parser: add own_prefix
https://bugs.freedesktop.org/show_bug.cgi?id=46882
Diffstat (limited to 'bus/policy.h')
-rw-r--r--bus/policy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/policy.h b/bus/policy.h
index 1782dbf3..4b3ce70e 100644
--- a/bus/policy.h
+++ b/bus/policy.h
@@ -86,6 +86,8 @@ struct BusPolicyRule
{
/* can be NULL meaning "any" */
char *service_name;
+ /* if prefix is set, any name starting with service_name can be owned */
+ unsigned int prefix : 1;
} own;
struct