Signal filtering

Philip Van Hoof spam at pvanhoof.be
Mon Aug 29 13:30:44 PDT 2005


On Mon, 2005-08-29 at 15:33 -0400, John (J5) Palmieri wrote:
> On Mon, 2005-08-29 at 21:22 +0200, Philip Van Hoof wrote:

> > > dbus_bus_add_match (dbus_connection,
> > >                     "type='signal',"
> > >                     "interface='org.freedesktop.DBus',"
> > >                     "memeber='NameOwnerChanged',"
> > >                     "arg0='org.freedesktop.Foo'", &error);
> > 
> > Is arg0 "any string"? Could it be like this?
> > 
> > "arg0='/some/tests/testing1'" or
> > "arg0='/some/tests/testing2'" or
> > "arg0='/some/tests/testing3'" or
> > "arg0='/some/tests/more/testing4'" or
> 
> Yep this works.
> 
> > And can I let the filter succeed on tests like this?
> > 
> > "arg0='/some/tests/*'"
> 
> Nope.  Havoc vetoed my suggestion of allowing this.  Wildcards aren't
> allowed in matches.


And there's also no plans to one day support this? Or would it become
supported if somebody would provide a good patch that would implement
it?


-- 
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be



More information about the dbus mailing list