[pulseaudio-discuss] [PATCH 4/5] core: add message handler
Tanu Kaskinen
tanuk at iki.fi
Fri Jan 12 15:59:10 UTC 2018
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} }
--
Tanu
https://liberapay.com/tanuk
https://www.patreon.com/tanuk
More information about the pulseaudio-discuss
mailing list