| 255 | } |
| 256 | |
| 257 | static void stats_add_entry(const char *key, struct cs_stats_conv *cs_conv) |
| 258 | { |
| 259 | struct stats_item *item = malloc(sizeof(struct stats_item)); |
| 260 | |
| 261 | if (item) { |
| 262 | item->cs_conv = cs_conv; |
| 263 | item->key_name = strdup(key); |
| 264 | qb_map_put(stats_map, item->key_name, item); |
| 265 | } |
| 266 | } |
| 267 | static void stats_rm_entry(const char *key) |
| 268 | { |
| 269 | struct stats_item *item = qb_map_get(stats_map, key); |
no outgoing calls
no test coverage detected