Published in <sxsu2403zzw.fsf@florida.arsdigita.de>.
+2001-04-08 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * hash.c (hash_table_count): New function.
+
2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
* utils.c (read_file): Cast MAP_FAILED to char *. Enforced by
2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
* utils.c (read_file): Cast MAP_FAILED to char *. Enforced by
username was present, but the URL did not contain a slash, e.g.
http://foo:bar@myhost.
username was present, but the URL did not contain a slash, e.g.
http://foo:bar@myhost.
2001-04-03 KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>
* http.c (http_atotm): Use %A instead of %a to match full
2001-04-03 KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>
* http.c (http_atotm): Use %A instead of %a to match full
+
+/* Return the number of elements in the hash table. This is not the
+ same as the physical size of the hash table, which is always
+ greater than the number of elements. */
+int
+hash_table_count (struct hash_table *ht)
+{
+ return ht->count;
+}
\f
/* Support for hash tables whose keys are strings. */
\f
/* Support for hash tables whose keys are strings. */