lkml.org 
[lkml]   [2013]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 02/10] Add a generic associative array implementation.
From
Date
On Wed, 2013-07-17 at 21:43 +0100, David Howells wrote:
> Add a generic associative array implementation that can be used as the
> container for keyrings, thereby massively increasing the capacity available
> whilst also speeding up searching in keyrings that contain a lot of keys.

> +extern int assoc_array_iterate(const struct assoc_array *array,
> + int (*iterator)(const void *object, bool type,
> + void *iterator_data),
> + void *iterator_data);

bool type makes me queasy.




\
 
 \ /
  Last update: 2013-07-17 23:21    [W:0.151 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site