]> sjero.net Git - wget/blobdiff - src/hash.h
[svn] Declare hash_table_get_pair and hash_table_count.
[wget] / src / hash.h
index ab3136aa395f522a9594f2aff359e5d17a77a105..f3a1b21bc10fd646c33e7d81b04acc6444e891a9 100644 (file)
@@ -36,14 +36,20 @@ struct hash_table *hash_table_new PARAMS ((int,
                                           int (*) (const void *,
                                                    const void *)));
 void hash_table_destroy PARAMS ((struct hash_table *));
+
 void *hash_table_get PARAMS ((struct hash_table *, const void *));
+int hash_table_get_pair PARAMS ((struct hash_table *, const void *,
+                                void *, void *));
 int hash_table_exists PARAMS ((struct hash_table *, const void *));
+
 void hash_table_put PARAMS ((struct hash_table *, const void *, void *));
 int hash_table_remove PARAMS ((struct hash_table *, const void *));
 void hash_table_clear PARAMS ((struct hash_table *));
+
 void hash_table_map PARAMS ((struct hash_table *,
                             int (*) (void *, void *, void *),
                             void *));
+int hash_table_count PARAMS ((struct hash_table *));
 
 unsigned long string_hash PARAMS ((const void *));
 int string_cmp PARAMS ((const void *, const void *));