+/* Removes all of the elements from MAP, without destroying MAP itself and
+ without accessing the existing elements (if any). */
+void
+hmap_clear (struct hmap *map)
+{
+ size_t i;
+
+ for (i = 0; i <= map->mask; i++)
+ map->buckets[i] = NULL;
+ map->count = 0;
+}
+