Add argument path matching support. Bug #11066.
authorRyan Lortie <desrt@desrt.ca>
Thu, 20 Sep 2007 17:04:38 +0000 (13:04 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 20 Sep 2007 17:04:38 +0000 (13:04 -0400)
commitf6ec4a80abbfd4e4f4969747c39e625b2689df08
tree1500ff660a14b0ffd1d5f797d42e8fc322e1933c
parent8c6b0ab3f7e437362112eeaf83a566475b85d27c
Add argument path matching support.  Bug #11066.

2007-09-20  Ryan Lortie  <desrt@desrt.ca>

        * dbus/signals.c (struct DBusMatchRule, bus_match_rule_new,
        bus_match_rule_set_arg, bus_match_rule_parse_arg_match,
        match_rule_matches): Add support for parsing and matching on
        arg0path='/some/path' type rules.

        * dbus/signals.h (bus_match_rule_set_arg): change to take const
        DBusString instead of const char * for the string to match against.

        * dbus/dbus-bus.c: add a quick note to dbus_bus_add_match
        documentation about the path matching.

        * doc/dbus-specification.xml: add a more detailed description of the
        changes here.
ChangeLog
bus/signals.c
bus/signals.h
dbus/dbus-bus.c
doc/dbus-specification.xml