summaryrefslogtreecommitdiffstats
path: root/bus/policy.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-09-06 21:12:11 +0000
committerHavoc Pennington <hp@redhat.com>2003-09-06 21:12:11 +0000
commit83e41dff82abe99e1a35e70ca0bb60672204ffcd (patch)
treeaddc05c0961d5f908ee98f5bac859cdcf107b6ce /bus/policy.h
parent666fe95480c14d7cbf5143b1a4e1bf0558403d4d (diff)
2003-09-06 Havoc Pennington <hp@pobox.com>
* doc/dbus-specification.sgml: partial updates * bus/dbus-daemon-1.1.in: fix the config file docs for the zillionth time; hopefully I edited the right file this time. * bus/config-parser.c (append_rule_from_element): support send_type, send_path, receive_type, receive_path * bus/policy.c: add message type and path to the list of things that can be "firewalled"
Diffstat (limited to 'bus/policy.h')
-rw-r--r--bus/policy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bus/policy.h b/bus/policy.h
index 2aa69aaf..5824816c 100644
--- a/bus/policy.h
+++ b/bus/policy.h
@@ -54,7 +54,10 @@ struct BusPolicyRule
{
struct
{
+ /* message type can be DBUS_MESSAGE_TYPE_INVALID meaning "any" */
+ int message_type;
/* any of these can be NULL meaning "any" */
+ char *path;
char *interface;
char *member;
char *error;
@@ -63,7 +66,10 @@ struct BusPolicyRule
struct
{
+ /* message type can be DBUS_MESSAGE_TYPE_INVALID meaning "any" */
+ int message_type;
/* any of these can be NULL meaning "any" */
+ char *path;
char *interface;
char *member;
char *error;