shash_set_buckets_allocated(3)

NAME
shash_set_buckets_allocated - set the number of buckets

SYNOPSIS
#include <hash.h>

void shash_set_buckets_allocated (shash, int);

DESCRIPTION

Set the number of buckets allocated. You may ONLY do this when you have just created the shash and before you have inserted any elements. Otherwise the results are undefined (and probably bad). The number of buckets MUST be a power of 2.

AUTHOR
Richard Jones <rich@annexia.org>

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

VERSION
c2lib-1.2.14