shash_get_buckets_used(3)

NAME
shash_get_buckets_used, shash_get_buckets_allocated - return the number of buckets in a shash

SYNOPSIS
#include <hash.h>

int shash_get_buckets_used (shash);
int shash_get_buckets_allocated (shash);

DESCRIPTION

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

AUTHOR
Richard Jones <rich@annexia.org>

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

VERSION
c2lib-1.2.14