From 452c0bb9f7944aa3626856073ae992529fa57ad3 Mon Sep 17 00:00:00 2001 From: hniksic Date: Thu, 12 Apr 2001 12:45:18 -0700 Subject: [PATCH] [svn] Declare hash_table_get_pair and hash_table_count. --- src/ChangeLog | 4 ++++ src/hash.h | 6 ++++++ 2 files changed, 10 insertions(+) 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 *));