Re: [PATCH 02/10] Add a generic associative array implementation.

From: Joe Perches
Date: Wed Jul 17 2013 - 16:54:03 EST


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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/