| 126 | } |
| 127 | |
| 128 | void *strmap_get(struct strmap *map, const char *str) |
| 129 | { |
| 130 | struct strmap_entry *entry = find_strmap_entry(map, str); |
| 131 | return entry ? entry->value : NULL; |
| 132 | } |
| 133 | |
| 134 | int strmap_contains(struct strmap *map, const char *str) |
| 135 | { |