summaryrefslogtreecommitdiff
path: root/utils/hashmap.h
Commit message (Collapse)AuthorAgeFilesLines
* utils: Add hashmap_count()Daniel Silverstone2020-02-231-0/+8
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add iteration API to hashmapDaniel Silverstone2020-02-231-0/+22
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add hashmap parameter function typesDaniel Silverstone2020-02-231-6/+36
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* utils: Add a generic hashmap and tests for itDaniel Silverstone2020-02-231-0/+137
In order to be able to use a generic hashmap in things such as the fs_backing_store we want one to exist. Here it is, along with some moderately comprehensive tests. Current limits: 1. All keys and values are owned by the hashmap 2. The hashmap, while capable of different bucket counts only has a single fixed count for now Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>