| 120 | } |
| 121 | |
| 122 | void htable_clear(struct htable *ht) |
| 123 | { |
| 124 | if (ht->table != &ht->common_bits) |
| 125 | htable_free(ht, (void *)ht->table); |
| 126 | htable_init(ht, ht->rehash, ht->priv); |
| 127 | } |
| 128 | |
| 129 | bool htable_copy_(struct htable *dst, const struct htable *src) |
| 130 | { |