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

Georg Chini georg at chini.tk
Sun Oct 1 18:31:25 UTC 2017


On 01.10.2017 18:16, Tanu Kaskinen wrote:
> On Sat, 2017-08-19 at 17:48 +0200, Georg Chini wrote:
>> +/* List handlers */
>> +char *pa_core_message_handler_list(pa_core *c);
> Putting this function to core-messages.h doesn't seem right to me. The
> function will never be used outside core.c, so the it should be a
> private function in core.c.
>
If I put it in core.c, I would need to expose the pa_core_message_handler
structure, which you wanted to keep private. Also I am not sure if the 
function
will never be called from outside core.c. It might be useful to know,
which message handlers are present.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20171001/cfc7687d/attachment-0001.html>


More information about the pulseaudio-discuss mailing list