-dbus_bool_t bus_match_rule_set_message_type (BusMatchRule *rule,
- int type);
-dbus_bool_t bus_match_rule_set_interface (BusMatchRule *rule,
- const char *interface);
-dbus_bool_t bus_match_rule_set_member (BusMatchRule *rule,
- const char *member);
-dbus_bool_t bus_match_rule_set_sender (BusMatchRule *rule,
- const char *sender);
-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);
-dbus_bool_t bus_match_rule_set_arg (BusMatchRule *rule,
- int arg,
- const char *value);
+dbus_bool_t bus_match_rule_set_message_type (BusMatchRule *rule,
+ int type);
+dbus_bool_t bus_match_rule_set_interface (BusMatchRule *rule,
+ const char *interface);
+dbus_bool_t bus_match_rule_set_member (BusMatchRule *rule,
+ const char *member);
+dbus_bool_t bus_match_rule_set_sender (BusMatchRule *rule,
+ const char *sender);
+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,
+ 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_namespace);
+
+/* Calling this methods a client declares that it is creating a rule which
+ * needs to eavesdrop (e.g., dbus-monitor), any other created rules not
+ * setting themselves as eavesdropping won't receive any message not addressed
+ * to them, when eavedrop is enabled in the policy. On the other hand, when
+ * eavedrop is not enabled in policy, this method won't have any effect */
+void bus_match_rule_set_client_is_eavesdropping (BusMatchRule *rule,
+ dbus_bool_t is_eavesdropping);