RFC: arg0array= matches

Thiago Macieira thiago at kde.org
Wed Apr 29 08:08:46 PDT 2015


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



More information about the dbus mailing list