From b770be929d9c786b1ac671cca59dfd3314e65fdd Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 15 Dec 2010 17:46:23 +0100 Subject: Introduce sss_hash_create_ex() --- src/util/util.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/util/util.h') diff --git a/src/util/util.h b/src/util/util.h index 12d3ff0a5..f1e11a847 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -357,6 +357,16 @@ errno_t sss_hash_create(TALLOC_CTX *mem_ctx, unsigned long count, hash_table_t **tbl); +errno_t sss_hash_create_ex(TALLOC_CTX *mem_ctx, + unsigned long count, + hash_table_t **tbl, + unsigned int directory_bits, + unsigned int segment_bits, + unsigned long min_load_factor, + unsigned long max_load_factor, + hash_delete_callback *delete_callback, + void *delete_private_data); + /* Copy a NULL-terminated string list * Returns NULL on out of memory error or invalid input */ -- cgit