| 15 | } |
| 16 | |
| 17 | static struct strmap_entry *find_strmap_entry(struct strmap *map, |
| 18 | const char *str) |
| 19 | { |
| 20 | struct strmap_entry entry; |
| 21 | hashmap_entry_init(&entry.ent, strhash(str)); |
| 22 | entry.key = str; |
| 23 | return hashmap_get_entry(&map->map, &entry, ent, NULL); |
| 24 | } |
| 25 | |
| 26 | void strmap_init(struct strmap *map) |
| 27 | { |
no test coverage detected