diff options
author | Simon McVittie <smcv@debian.org> | 2011-04-11 16:53:03 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2011-04-11 16:53:03 +0100 |
commit | 3e6b351f189f89af76fe1fd6e63a5171fae18284 (patch) | |
tree | ffdadf391c879ba6e207af377d7a9c45efc5de51 /bus/signals.h | |
parent | b03dfc9ec734204fa8f5e2a6fa75ad2a1973e346 (diff) | |
download | dbus-3e6b351f189f89af76fe1fd6e63a5171fae18284.tar.gz |
Imported Upstream version 1.5.0upstream/1.5.0
Diffstat (limited to 'bus/signals.h')
-rw-r--r-- | bus/signals.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/bus/signals.h b/bus/signals.h index eeb1d2d0..5b086f04 100644 --- a/bus/signals.h +++ b/bus/signals.h @@ -31,13 +31,14 @@ typedef enum { - BUS_MATCH_MESSAGE_TYPE = 1 << 0, - BUS_MATCH_INTERFACE = 1 << 1, - BUS_MATCH_MEMBER = 1 << 2, - BUS_MATCH_SENDER = 1 << 3, - BUS_MATCH_DESTINATION = 1 << 4, - BUS_MATCH_PATH = 1 << 5, - BUS_MATCH_ARGS = 1 << 6 + BUS_MATCH_MESSAGE_TYPE = 1 << 0, + BUS_MATCH_INTERFACE = 1 << 1, + BUS_MATCH_MEMBER = 1 << 2, + BUS_MATCH_SENDER = 1 << 3, + BUS_MATCH_DESTINATION = 1 << 4, + BUS_MATCH_PATH = 1 << 5, + BUS_MATCH_ARGS = 1 << 6, + BUS_MATCH_PATH_NAMESPACE = 1 << 7 } BusMatchFlags; BusMatchRule* bus_match_rule_new (DBusConnection *matches_go_to); @@ -55,11 +56,13 @@ dbus_bool_t bus_match_rule_set_sender (BusMatchRule *rule, dbus_bool_t bus_match_rule_set_destination (BusMatchRule *rule, const char *destination); dbus_bool_t bus_match_rule_set_path (BusMatchRule *rule, - const char *path); + const char *path, + dbus_bool_t is_namespace); dbus_bool_t bus_match_rule_set_arg (BusMatchRule *rule, int arg, const DBusString *value, - dbus_bool_t is_path); + dbus_bool_t is_path, + dbus_bool_t is_namespace); BusMatchRule* bus_match_rule_parse (DBusConnection *matches_go_to, const DBusString *rule_text, |