Re: RFC: arg0array= matches

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <1713281.VElbi5miOn@tjmaciei-mobl4>
On Wednesday 29 April 2015 16:10:59 Lennart Poettering wrote:
> The syntax "arg0array=" takes inspiration from the match types
> "arg0path=", "arg0namespace=".
> 
> Before I cook up a patch for the dbus spec for this, any opinions on
> this?

I like the feature but not the name of the marker. "arg<n>array" seems like 
you're comparing the entire array. Try to insert "arg<n>contains" or 
"in_array_arg<n>" or something similar.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.