From: hniksic Date: Thu, 12 Apr 2001 19:45:18 +0000 (-0700) Subject: [svn] Declare hash_table_get_pair and hash_table_count. X-Git-Tag: v1.13~2185 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=452c0bb9f7944aa3626856073ae992529fa57ad3 [svn] Declare hash_table_get_pair and hash_table_count. --- diff --git a/src/ChangeLog b/src/ChangeLog index c84c985e..12644745 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-04-12 Hrvoje Niksic + + * hash.h: Declare hash_table_get_pair and hash_table_count. + 2001-04-12 Hrvoje Niksic * cookies.c: Declare http_atotm. diff --git a/src/hash.h b/src/hash.h index ab3136aa..f3a1b21b 100644 --- a/src/hash.h +++ b/src/hash.h @@ -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 *));