[PATCH 4/6] core: add message handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux