[pulseaudio-discuss] [PATCH 4/5] core: add message handler

Georg Chini georg at chini.tk
Fri Jan 12 18:42:10 UTC 2018


On 12.01.2018 16:59, Tanu Kaskinen wrote:
> On Sun, 2017-10-29 at 20:51 +0100, Georg Chini wrote:
>> +Recipient: /core
>> +Message: list-handlers
>> +Parameters: None
>> +Return value: {{Handler name} {Description}}
> I now realized that a single-level list isn't sufficient, it has to be
> a list of lists:
>
> { { {/path1} {Description 1} } { {/path2} {Description 2} } }
>
> The reason is that the list of attributes should be extensible. When
> using a single-level list, this would break old clients:
>
> { {/path1} {Description 1} {Some new attribute 1} {/path2} {Description 2} {Some new attribute 2} }
>
It is in fact a list of lists. The outermost brackets are not necessary 
because you
always pass a list of elements and the elements are of the form {{path} 
{description}}



More information about the pulseaudio-discuss mailing list