hash_get_buckets_used

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

hash_get_buckets_used, hash_get_buckets_allocated - return the number of buckets in a hash

SYNOPSIS

#include <hash.h>

int hash_get_buckets_used (hash);
int hash_get_buckets_allocated (hash);

DESCRIPTION

Return the number of hash buckets used and allocated. The number of buckets allocated is always a power of 2. See also hash_set_buckets_allocated to change the number used in the hash.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13