bus_connection_add_match_rule with partial path match

Kay Sievers kay.sievers at vrfy.org
Mon Aug 9 05:00:08 PDT 2004


Is there any way to subscribe to messages for a given object and all
objects below a path?

Like:
  dbus_bus_add_match(c, "type='signal',path='/a/b/c/*'", NULL)

I'm looking for the counterpart to:
  dbus_connection_register_fallback()

Yes, I can add a rule without "path=", to get _all_ messages.
But as a example, I'm only interested in all objects below
"/org/freedesktop/Hal/devices".
So it would be nice, not to have the whole bus traveling to the
application :) 

Thanks,
Kay




More information about the dbus mailing list