RFC: arg0array= matches

David Herrmann dh.herrmann at gmail.com
Wed Apr 29 08:18:11 PDT 2015


On Wed, Apr 29, 2015 at 5:08 PM, Thiago Macieira <thiago at kde.org> wrote:
> 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.

Same for me. I'd vote for arg<n>contains="". It's a bit unfortunate
that it cannot distinguish structs from arrays, but I still prefer it
over "arg<n>array=".


More information about the dbus mailing list