* htable_count - count number of entries in a hash table. * @ht: the hash table */
| 80 | * @ht: the hash table |
| 81 | */ |
| 82 | static inline size_t htable_count(const struct htable *ht) |
| 83 | { |
| 84 | return ht->elems; |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * htable_clear - empty a hash table. |