Hi Jaroslav,
On Oct 9 2018 00:14, Jaroslav Kysela wrote:
Dne 7.10.2018 v 05:04 Takashi Sakamoto napsal(a):
Hi Jaroslav,
On Oct 6 2018 02:14, Jaroslav Kysela wrote:
Dne 5.10.2018 v 16:47 Takashi Sakamoto napsal(a):
At present, handlers for control nodes are maintained by one-dimensional array. This is not necessarily useful to maintain handlers with associated information.
This commit adds link-list for the maintenance.
Thanks for the improved code.
Please, use macros in list.h to manage linked list which are inherited from the kernel here.
Let me confirm the macro about which you mention.
This patchset is for alsa-utils. In a package of alsa-utils, there's no such header.
A package of alsa-lib v1.1.6 has 'include/list.h', however this is not installation target.
Would I ask you where the list is available?
[alsa-utils]$ git log alsactl/list.h commit b402cf543aee5f6cd7561d964065a26f07459c8c Author: Jaroslav Kysela perex@perex.cz Date: Thu Jul 31 15:45:08 2008 +0200
Initial 'alsactl init' implementation See 'man 7 alsactl_init' for more details. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Ah..., exactly. I overlooked this probability. I'll use it for next patchset.
Thanks
Takashi Sakamoto